1
0
Fork 0
mirror of synced 2024-05-30 13:51:08 -04:00
Commit graph

17 commits

Author SHA1 Message Date
Keith Mosher c6a3a6040f fix: permissions on sudoers include dir were wrong 2020-11-24 21:35:09 -06:00
Eric Veiras Galisson c5acbc696a feat: implement option to purge included files directory 2020-11-24 18:11:36 +01:00
Eric Veiras Galisson d5002c3c25 refactor: change pillar calls 2020-08-26 17:47:30 +02: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
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
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
Alejandro Bednarik ae1b5dab1b Update include.sls with correct execprefix reference
Sorry Imissed this update
2017-08-16 11:52:38 -03:00
abednarik 24e66ca8bf Remove dashes from variables.
Dashes causes some weird issues while rendering jinja templates.
2017-08-16 09:32:42 -03:00
Matthew X. Economou 672cd20672 Use correct pathname of visudo on FreeBSD 2016-03-09 15:03:56 -05: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
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
Robert Fairburn 3db683d657 Fixes escaped spaces in users/groups 2015-01-09 09:14:09 -06:00
Niels Abspoel 78b8323716 updated pillar lookup with map.jinja 2015-01-01 23:14:56 +01:00
Simon Lloyd ffc287bf34 included_files default changed to empty dict. 2014-12-24 15:08:03 +01:00
Jason Wolfe 5f6395fc43 FreeBSD support with group 0 being wheel, clean up config-path 2014-10-13 23:15:30 -07:00
Kevin Bowling 8fa0d85ac9 Initial FreeBSD support 2014-10-02 00:29:40 -07:00
Carlos Perelló Marín 461107d8db Added sudoers.included formula to manage included sudoers files 2014-02-09 18:32:22 +01:00