]> Frank Brehm's Git Trees - pixelpark/hiera.git/commitdiff
sgb2-infp deploy.vogel rights
authorPhilipp Dallig <philipp.dallig@pixelpark.com>
Wed, 20 Jan 2016 14:32:47 +0000 (15:32 +0100)
committerPhilipp Dallig <philipp.dallig@pixelpark.com>
Wed, 20 Jan 2016 14:32:47 +0000 (15:32 +0100)
customer/bmas-sgb2/dev-sgb2-info.pixelpark.net.yaml

index 58186b0583e0bba2a2adb6eed0ff5a9b679bb323..f8090d9423459495d0b21d6fa4c5c2121eaaf5d6 100644 (file)
@@ -12,6 +12,18 @@ accounts::users:
     group: apache
     sudo: true
 
+sudo::configs:
+  cmd_alias:
+    priority: "05"
+    content: |
+      Cmnd_Alias MKDIRDOC = /bin/mkdir /srv/www/*
+      Cmnd_Alias CHOWNDOC = /bin/chown -R apache\:apache /srv/www/*
+  deploy.vogel:
+    priority: "06"
+    content: |
+      deploy.vogel ALL=(apache) NOPASSWD: ALL
+      deploy.vogel ALL=(ALL) NOPASSWD: MKDIRDOC, CHOWNDOC
+
 site::role: base
 site::additional_classes:
   - site::profile::drupal