1
0
Fork 0
mirror of synced 2024-11-24 17:55:36 -05:00
Commit graph

278 commits

Author SHA1 Message Date
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
Nitin Madhok
4e579839c5 Merge pull request #15 from JaseFace/master
FreeBSD support with group 0 being wheel, clean up config-path
2014-10-14 02:22:03 -04:00
Jason Wolfe
5f6395fc43 FreeBSD support with group 0 being wheel, clean up config-path 2014-10-13 23:15:30 -07:00
David Boucha
7d216f395f Merge pull request #14 from jszakmeister/fix-typo-in-pillar-example
pillar.example: fix a small typo
2014-10-04 13:34:19 -06:00
John Szakmeister
78a06fd562 pillar.example: fix a small typo 2014-10-04 15:29:39 -04:00
Forrest
36744c92de Merge pull request #13 from kev009/master
Initial FreeBSD support
2014-10-02 11:12:06 -07:00
Kevin Bowling
8fa0d85ac9 Initial FreeBSD support 2014-10-02 00:29:40 -07:00
Kevin Bowling
f7f01e6714 Pillar whitespace 2014-10-02 00:22:49 -07:00
Nitin Madhok
4f3761301e Merge pull request #12 from andrew-vant/mintsupport
Added Linux Mint support.
2014-10-01 11:29:22 -04:00
Andrew Vant
c9230f1b14 Added Linux Mint support. 2014-10-01 11:26:17 -04:00
Nitin Madhok
f6af37072c Merge pull request #11 from andrew-vant/sudoers-defaults
Fixed default permissions for Debian-based distributions.
2014-10-01 11:19:41 -04:00
Andrew Vant
8bf6d6711f Fixed default permissions for Debian-based distributions.
The code around lines 84 and 91 expects 'specs' to be a list,
but the defaults provide a single string value. This causes
wrong behavior if sudoers:users or sudoers:groups are not
specified in pillar.
2014-10-01 11:03:54 -04:00
Nitin Madhok
ba5fe97d2a Update README.rst 2014-09-07 22:02:22 -04:00
Nitin Madhok
f9a2f7269c Update README.rst 2014-09-07 22:02:14 -04:00
Nitin Madhok
0c7422324b Merge pull request #10 from rfairburn/master
allow for multiple lines for the same user or group
2014-08-19 11:24:59 -04:00
Robert Fairburn
cd1ddcf25f allow for multiple lines for the same user or group 2014-08-19 09:26:47 -05:00
Nitin Madhok
24ae95394f Merge pull request #9 from virtru-ops/master
Correctly set variables for template
2014-08-05 14:29:15 -04:00
Nitin Madhok
be85f4aff4 Update README.rst 2014-07-30 13:40:46 -04:00
Reuven V. Gonzales
3744718f8c Correctly set variables for template 2014-07-30 02:10:50 -07:00