Commit Graph

12 Commits

Author SHA1 Message Date
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
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
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
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
Kenneth Wilke ffda08bc09 init.sls fix 2013-08-20 16:35:12 -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