1
0
Fork 0
mirror of synced 2024-11-16 05:35:34 -05:00

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:
Stephen Schlie 2019-02-15 12:00:42 -08:00 committed by GitHub
commit ac990e861d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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))