]> Frank Brehm's Git Trees - pixelpark/hiera.git/commitdiff
fbb - tobias.gutknecht doesnt need tail -f in sudo anymore
authorSteve Rosiak <steve.rosiak@pixelpark.com>
Fri, 5 Feb 2016 14:22:26 +0000 (15:22 +0100)
committerSteve Rosiak <steve.rosiak@pixelpark.com>
Fri, 5 Feb 2016 14:22:26 +0000 (15:22 +0100)
customer/fbb/production.yaml
customer/fbb/test.yaml

index 70f34b673a7c3e8bc6964449dc8d6c2b4b12eb2d..c0a413308839725e99d2e07945d8712e89bb6344 100644 (file)
@@ -103,9 +103,13 @@ airport_web_app::params::config_params:
   - special.json_file = 10_pushSpecial.json
 
 sudo::configs:
+  cmd_alias:
+    priority: "09"
+    content: |
+      Cmnd_Alias APACHECHECK = /www/bin/www2 check
+      Cmnd_Alias APACHERELOAD = /www/bin/www2 reload
   tobias.gutknecht:
     priority: "10"
     content: |
       Defaults:tobias.gutknecht       logfile=/home/tobias.gutknecht/sudo.log
-      Cmnd_Alias APACHECHECKNRELOAD = /www/bin/www2 check && /www/bin/www2 reload
-      tobias.gutknecht ALL=(ALL)  NOPASSWD:APACHECHECKNRELOAD
+      tobias.gutknecht ALL=(ALL)  NOPASSWD: APACHECHECK, APACHERELOAD
index 6ff1f5d8d6219f91a34a6cf143def71448f093e9..8355d5d2f8951fbaed08191a6937493b65893139 100644 (file)
@@ -131,9 +131,13 @@ unitb_mobile_website::flugplanAlt_dbpwd_tep: ENC[PKCS7,MIIBiQYJKoZIhvcNAQcDoIIBe
 unitb_mobile_website::flugplanAlt_dbname: "flugplan_alt"
 
 sudo::configs:
+  cmd_alias:
+    priority: "09"
+    content: |
+      Cmnd_Alias APACHECHECK = /www/bin/www2 check
+      Cmnd_Alias APACHERELOAD = /www/bin/www2 reload
   tobias.gutknecht:
     priority: "10"
     content: |
       Defaults:tobias.gutknecht       logfile=/home/tobias.gutknecht/sudo.log
-      Cmnd_Alias APACHECHECKNRELOAD = /www/bin/www2 check && /www/bin/www2 reload
-      tobias.gutknecht ALL=(ALL)  NOPASSWD:APACHECHECKNRELOAD
+      tobias.gutknecht ALL=(ALL)  NOPASSWD: APACHECHECK, APACHERELOAD