Chris Haumesser
e8677905dd
SRE-650 allow devs root access in qa
2019-02-15 11:44:08 -08:00
Chris Haumesser
0cf768889d
ITI-3671 grant qa full access to stage environments
2018-09-27 17:03:15 -07:00
Eldo Varghese
fae6d2bff1
ITI-3263 added noexec
2018-03-07 16:38:01 -08:00
bellaweo
302063b7a6
we only need the keys of the group_maps pillar
2017-02-15 14:52:37 -08:00
bellaweo
d1767ba253
non vagrant/dev environments can only run commands as root
2017-02-15 14:51:53 -08:00
bellaweo
79d1677e7f
add comment
2017-02-15 14:27:40 -08:00
bellaweo
9fe077af8c
specify group specific value or default
2017-02-15 14:25:03 -08:00
bellaweo
c0740ccbff
oops. put that % back in for groups additions!
2017-02-15 09:19:09 -08:00
bellaweo
966b189127
this owrks but would like to remove the if statement
2017-02-14 16:30:14 -08:00
bellaweo
35c995aee7
syntax errors
2017-02-14 15:37:13 -08:00
bellaweo
ebb103d6a4
init commit, create lookup table
2017-02-14 13:34:39 -08:00
bellaweo
9e23258c9a
Provide an explicit default value for sudoers:lookup
2016-12-21 11:07:35 -08:00
Niels Abspoel
052923a076
added opensuse support
2015-03-07 11:28:49 +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
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
Simon Lloyd
ffc287bf34
included_files default changed to empty dict.
2014-12-24 15:08:03 +01:00
ymage
e732663da9
Revert change
...
The '#' here does not indicate a comment
2014-12-12 14:57:35 +01:00
ymage
f9e8655284
Update sudoers
...
Enable includedir
2014-12-11 14:45:57 +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
Andrew Vant
c9230f1b14
Added Linux Mint support.
2014-10-01 11:26:17 -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
Robert Fairburn
cd1ddcf25f
allow for multiple lines for the same user or group
2014-08-19 09:26:47 -05:00
Reuven V. Gonzales
3744718f8c
Correctly set variables for template
2014-07-30 02:10:50 -07:00
Robert Fairburn
fb3773a605
switch default from list to dict on include to match the global configuration
2014-07-09 13:36:47 -05:00
Robert Fairburn
1c3e6844bc
Fix broken logic surrounding includes and Debian defaults
2014-07-09 13:35:07 -05:00
Robert Fairburn
7662f1272e
attempt to resolve error processing files missing defaults
2014-07-09 13:26:26 -05:00
Robert Fairburn
6941d548fb
Add support for Amazon Linux
2014-07-09 13:04:26 -05:00
Robert Fairburn
595f90c5d4
fix typo in the sudoers file that was causing the wrong data to get populated under new fields
2014-07-09 12:56:16 -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
642a93d7df
Improved default values for Debian based distributions to match the distribution default values
2014-02-09 18:34:27 +01:00
Carlos Perelló Marín
461107d8db
Added sudoers.included formula to manage included sudoers files
2014-02-09 18:32:22 +01:00
Evan Borgstrom
ba9c94ce91
Add missing hash on custom includedir
2013-11-16 08:21:53 -05:00
Kenneth Wilke
7f4a0d6834
more newline removal
2013-08-20 16:55:49 -05:00
Kenneth Wilke
1c652bdffe
more newline removal
2013-08-20 16:55:11 -05:00
Kenneth Wilke
7100b0ed13
small newline removal
2013-08-20 16:54:54 -05:00
Kenneth Wilke
3db435dcdd
template cleanup
2013-08-20 16:54:21 -05:00
Kenneth Wilke
7ae89c11ec
user/group fix
2013-08-20 16:53:00 -05:00
Kenneth Wilke
61a216de81
fleshed out template
2013-08-20 16:51:13 -05:00
Kenneth Wilke
34178002e7
alias test
2013-08-20 16:45:11 -05:00
Kenneth Wilke
4f842bf457
includedir fix
2013-08-20 16:35:57 -05: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