deploy.vogel:
apply: true
sudo: false
+ jenkins:
+ apply: true
+ group: apache
# Add specific sudo rights for CI Deployment
sudo::configs:
content: |
Cmnd_Alias MKDIRDOC = /bin/mkdir /srv/www/*
Cmnd_Alias CHOWNDOC = /bin/chown -R apache\:apache /srv/www/*
- deploy.vogel:
+ becomeApache:
priority: "06"
content: |
deploy.vogel ALL=(apache) NOPASSWD: ALL
deploy.vogel ALL=(ALL) NOPASSWD: MKDIRDOC, CHOWNDOC
+ jenkins ALL=(apache) NOPASSWD: ALL
\ No newline at end of file
sudo: false
markus.baumann:
apply: true
- sudo: false
\ No newline at end of file
+ sudo: false
+
+accounts::users:
+ jenkins:
+ apply: true
+ group: apache
+sudo::configs:
+ becomeApache:
+ priority: "06"
+ content: |
+ jenkins ALL=(apache) NOPASSWD: ALL
\ No newline at end of file