1
0
Fork 0

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
1 changed files with 10 additions and 4 deletions

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