Merge pull request #5 from PLOS-Formulas/SRE-650-dev-sudo-stage
SRE-650 allow devs root access in stage
This commit is contained in:
commit
ac990e861d
1 changed files with 10 additions and 4 deletions
|
@ -19,10 +19,16 @@
|
|||
'default': { 'default': 'ALL = (root) NOEXEC:NOPASSWD: SUPPORT' },
|
||||
'vagrant': { 'default': 'ALL = (ALL:ALL) NOPASSWD: ALL' },
|
||||
'dev': { 'default': 'ALL = (ALL:ALL) NOPASSWD: ALL' },
|
||||
'qa': { 'default': 'ALL = (root) NOEXEC:NOPASSWD: SUPPORT',
|
||||
'plosqa': 'ALL = (root) NOPASSWD: ALL' },
|
||||
'stage': { 'default': 'ALL = (root) NOEXEC:NOPASSWD: SUPPORT',
|
||||
'plosqa': 'ALL = (root) NOPASSWD: ALL' },
|
||||
'qa': {
|
||||
'default': 'ALL = (root) NOEXEC:NOPASSWD: SUPPORT',
|
||||
'plosdev': 'ALL = (ALL:ALL) NOPASSWD: ALL',
|
||||
'plosqa': 'ALL = (ALL:ALL) NOPASSWD: ALL',
|
||||
},
|
||||
'stage': {
|
||||
'default': 'ALL = (root) NOEXEC:NOPASSWD: SUPPORT',
|
||||
'plosdev': 'ALL = (ALL:ALL) NOPASSWD: ALL',
|
||||
'plosqa': 'ALL = (ALL:ALL) NOPASSWD: ALL'
|
||||
}
|
||||
},
|
||||
grain='environment',
|
||||
merge=salt['pillar.get']('group_maps:lookup', None))
|
||||
|
|
Loading…
Reference in a new issue