0
0
mirror of https://github.com/saltstack-formulas/sudoers-formula.git synced 2024-11-30 21:45:34 +01:00
Commit Graph

15 Commits

Author SHA1 Message Date
Eric Veiras Galisson
c5acbc696a feat: implement option to purge included files directory 2020-11-24 18:11:36 +01: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
Imran Iqbal
d60487643e
docs: fix CONTRIBUTING and README
* Finalises comments from #51
2019-05-29 19:50:49 +01: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
9numbernine9
d5d68ea963 Add support for netgroups 2018-08-14 13:29:49 +01: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
John Szakmeister
78a06fd562 pillar.example: fix a small typo 2014-10-04 15:29:39 -04:00
Kevin Bowling
f7f01e6714 Pillar whitespace 2014-10-02 00:22:49 -07:00
Robert Fairburn
cd1ddcf25f allow for multiple lines for the same user or group 2014-08-19 09:26:47 -05:00
Robert Fairburn
ac278d226c Extend defaults section of sudoers to permit the following:
Default_Type ::= 'Defaults' |
                 'Defaults' '@' Host_List |
                 'Defaults' ':' User_List |
                 'Defaults' '!' Cmnd_List |
                 'Defaults' '>' Runas_List
2014-07-09 12:21:58 -05:00
Carlos Perelló Marín
461107d8db Added sudoers.included formula to manage included sudoers files 2014-02-09 18:32:22 +01:00
Kenneth Wilke
61a216de81 fleshed out template 2013-08-20 16:51:13 -05:00
Kenneth Wilke
4f842bf457 includedir fix 2013-08-20 16:35:57 -05:00
Kenneth Wilke
be815275bb fixed pkgs variable 2013-08-20 16:34:35 -05:00
Kenneth Wilke
8eb95cfcda start of sudoers formula 2013-08-20 16:32:58 -05:00