Commit Graph

96 Commits

Author SHA1 Message Date
semantic-release-bot b194fe528e chore(release): 0.22.0 [skip ci]
# [0.22.0](https://github.com/saltstack-formulas/sudoers-formula/compare/v0.21.1...v0.22.0) (2019-08-17)

### Continuous Integration

* **kitchen+travis:** modify matrix to include `develop` platform ([3d42a82](https://github.com/saltstack-formulas/sudoers-formula/commit/3d42a82))

### Features

* **yamllint:** include for this repo and apply rules throughout ([8d08719](https://github.com/saltstack-formulas/sudoers-formula/commit/8d08719))
2019-08-17 09:31:40 +00:00
Niels Abspoel ced602e4a5
Merge pull request #56 from myii/chore/standardise-structure
feat(yamllint): include for this repo and apply rules throughout
2019-08-17 09:51:30 +02:00
Imran Iqbal 8d08719844
feat(yamllint): include for this repo and apply rules throughout
* Semi-automated using `ssf-formula` (v0.5.0)
* Fix errors shown below:

```bash
sudoers-formula$ $(grep "\- yamllint" .travis.yml | sed -e "s:^\s\+-\s\(.*\):\1:")
pillar.example
  6:23      warning  truthy value should be one of [false, true]  (truthy)

test/salt/pillar/kitchen.sls
  3:1       warning  missing document start "---"  (document-start)
  7:1       error    too many blank lines (1 > 0)  (empty-lines)

test/salt/pillar/default.sls
  1:1       warning  missing document start "---"  (document-start)
  3:23      warning  truthy value should be one of [false, true]  (truthy)
```
2019-08-16 19:22:11 +01:00
Niels Abspoel 9bfca090ed
Merge pull request #55 from myii/ci/standardise-structure
chore: use `semantic-release` cross-formula standard structure
2019-07-21 15:33:33 +02:00
Imran Iqbal 8af3849f1c chore: use `semantic-release` cross-formula standard structure
* Automated using `ssf-formula` (v0.1.0-rc.1)
2019-07-19 13:38:21 +01:00
Imran Iqbal 773c417954
Merge pull request #54 from myii/ci/use-develop-image-in-matrix
ci(kitchen+travis): modify matrix to include `develop` platform
2019-06-28 06:37:37 +01:00
Imran Iqbal 3d42a82890
ci(kitchen+travis): modify matrix to include `develop` platform
* Use balanced matrix based on `template-formula` guidelines
* Initial ref: https://github.com/saltstack-formulas/template-formula/issues/118
2019-06-28 06:21:43 +01:00
semantic-release-bot d1346e5c0e chore(release): 0.21.1 [skip ci]
## [0.21.1](https://github.com/saltstack-formulas/sudoers-formula/compare/v0.21.0...v0.21.1) (2019-05-29)

### Tests

* **kitchen:** tests on config files ([5fa1cf1](https://github.com/saltstack-formulas/sudoers-formula/commit/5fa1cf1))
2019-05-29 21:24:47 +00:00
Imran Iqbal bb2bb016be
Merge pull request #53 from daks/more-tests
test(kitchen): tests on config files
2019-05-29 22:12:34 +01:00
Eric Veiras Galisson 5fa1cf1432 test(kitchen): tests on config files 2019-05-29 22:24:48 +02:00
semantic-release-bot 09bbb6f3a5 chore(release): 0.21.0 [skip ci]
# [0.21.0](https://github.com/saltstack-formulas/sudoers-formula/compare/v0.20.0...v0.21.0) (2019-05-29)

### Documentation

* fix `CONTRIBUTING` and `README` ([d604876](https://github.com/saltstack-formulas/sudoers-formula/commit/d604876)), closes [#51](https://github.com/saltstack-formulas/sudoers-formula/issues/51)

### Features

* implementing semantic release ([1a59d4e](https://github.com/saltstack-formulas/sudoers-formula/commit/1a59d4e))
2019-05-29 19:04:30 +00:00
Imran Iqbal ce282bc518
Merge pull request #52 from myii/docs/fix-contributing
docs: fix `CONTRIBUTING` and `README`
2019-05-29 19:52:08 +01:00
Imran Iqbal d60487643e
docs: fix `CONTRIBUTING` and `README`
* Finalises comments from #51
2019-05-29 19:50:49 +01:00
Imran Iqbal 4fb086a88c
Merge pull request #51 from daks/semantic-release
feat: implementing semantic release
2019-05-29 19:44:20 +01:00
Eric Veiras Galisson 1a59d4e99a feat: implementing semantic release 2019-05-29 17:41:56 +02:00
Imran Iqbal 07a1b127ec
Merge pull request #50 from daks/kitchen-tests
feat: implementing kitchen tests and activate them on travis
2019-05-27 20:38:04 +01:00
Eric Veiras Galisson 1774df001e feat: implementing kitchen tests and activate them on travis 2019-05-27 16:13:58 +02:00
Javier Bértoli 00480b992c
Merge pull request #47 from asenci/fix_issue_25
Fix issue #25
2018-11-06 18:33:46 -03:00
Andre Sencioles b925a00048 Fix issue #25
Add "makedirs: True" to the included.sls file as suggested by @tjuup
2018-11-07 10:18:05 +13:00
Niels Abspoel 2fa535ec3a
Merge pull request #43 from ze42/dictsort
dictsort: ensure the dict order is stable
2018-10-27 23:43:45 +02:00
Niels Abspoel 398398f793
Merge pull request #46 from netzvieh/main_sudoers_optional
Make management of the main sudoers config optional
2018-10-27 23:43:00 +02:00
Sebastian Meyer 73d2d70dbb
Make management of the main sudoers config optional
It should be possible to not overwrite the main sudoers configuration
file and only provide files to be included. This introduces a new Pillar
variable to achieve that. If it's not set we default to the old
behaviour of managing that file.
2018-08-22 12:30:32 +02:00
Niels Abspoel 76a3db1b3b
Merge pull request #44 from 9numbernine9/feature/add-netgroup-support
Add support for netgroups
2018-08-14 14:33:52 +02:00
9numbernine9 d5d68ea963 Add support for netgroups 2018-08-14 13:29:49 +01:00
Adrien "ze" Urban bc62b6e567 dictsort: ensure the dict order is stable
Makes changes easier to read when adding/removing an entry.
Other lines will not be reordered because of unrelated stuffs.
2018-06-25 11:29:28 +02:00
N 1a46975212
Merge pull request #39 from jasonvoor/master
added includedir as variable (mostly for FreeBSD)
2018-03-07 00:01:57 +00:00
Jessy e4501d10d3 added includedir as variable (mostly for FreeBSD)
include files can now be specified with the filename only.
2018-02-04 20:04:11 +01:00
Niels Abspoel 91d2af4de6 Merge pull request #37 from Perceptyx/fix_included_reference
Update include.sls with correct execprefix reference
2017-08-16 17:08:16 +02:00
Alejandro Bednarik ae1b5dab1b Update include.sls with correct execprefix reference
Sorry Imissed this update
2017-08-16 11:52:38 -03:00
Niels Abspoel 10d7127c9a Merge pull request #36 from Perceptyx/remove_dashes_from_variables
Remove dashes from variables.
2017-08-16 14:51:23 +02:00
abednarik 24e66ca8bf Remove dashes from variables.
Dashes causes some weird issues while rendering jinja templates.
2017-08-16 09:32:42 -03:00
Brian Jackson 93883cdcb6 Merge pull request #29 from irtnog/fix-visudo-path-freebsd
Use correct pathname of visudo on FreeBSD
2016-03-09 23:57:15 -08:00
Matthew X. Economou 672cd20672 Use correct pathname of visudo on FreeBSD 2016-03-09 15:03:56 -05:00
puneet kandhari f46d2ca228 Merge pull request #28 from durchblicker/master
add sudoers file check with visudo
2016-02-15 08:42:56 -06:00
Roman Reitschmied 8d3f4d9894 add sudoers check with visudo as proposed here: https://blog.afoolishmanifesto.com/posts/checking-sudoers-with-visudo-in-saltstack/ 2016-02-11 15:00:22 +01:00
Nitin Madhok 2045591a9d Merge pull request #24 from aboe76/opensuse_support
added opensuse support
2015-03-07 05:32:45 -07:00
Niels Abspoel 052923a076 added opensuse support 2015-03-07 11:28:49 +01:00
Wolodja Wentland 4098e46527 Merge pull request #22 from smlloyd/master
Fix overwriting dictionary with pillar data.
2015-01-12 09:44:56 +01:00
Simon Lloyd 34f3aed102 Fix overwriting dictionary with pillar data.
The dictionary ``sudoers`` is defined twice instead of once,
and then updated with additional values from pillar data. This
prevents looking up map values. This patch updates, instead of
overwrites the dictionary.
2015-01-10 23:48:19 +01:00
Seth House 1ecdcc5a9b Merge pull request #21 from rfairburn/master
Fixes escaped spaces in users/groups
2015-01-09 11:34:13 -07:00
Robert Fairburn 3db683d657 Fixes escaped spaces in users/groups 2015-01-09 09:14:09 -06:00
Nitin Madhok a191934544 Merge pull request #20 from aboe76/pillar_lookup_map
Pillar lookup map
2015-01-02 04:26:13 +05:30
Niels Abspoel c2265a81f6 Added archlinux support and improved lookup table 2015-01-01 23:44:47 +01:00
Niels Abspoel 78b8323716 updated pillar lookup with map.jinja 2015-01-01 23:14:56 +01:00
Nitin Madhok 0a1fab9f8a Merge pull request #19 from smlloyd/master
included_files default changed to empty dict.
2014-12-24 10:05:26 -05:00
Simon Lloyd ffc287bf34 included_files default changed to empty dict. 2014-12-24 15:08:03 +01:00
Nitin Madhok a3d228bb05 Merge pull request #18 from ymage/patch-2
Revert change
2014-12-12 09:01:27 -05:00
ymage e732663da9 Revert change
The '#' here does not indicate a comment
2014-12-12 14:57:35 +01:00
Nitin Madhok 9ec75d1cd8 Merge pull request #16 from ymage/patch-1
Update sudoers
2014-12-11 08:55:41 -05:00
ymage f9e8655284 Update sudoers
Enable includedir
2014-12-11 14:45:57 +01:00