]> Frank Brehm's Git Trees - pixelpark/hiera.git/commitdiff
fbb-api - allow worker-restart for apache users
authorThomas Dalichow <thomas.dalichow@publicispixelpark.de>
Mon, 13 Aug 2018 19:01:14 +0000 (21:01 +0200)
committerThomas Dalichow <thomas.dalichow@publicispixelpark.de>
Mon, 13 Aug 2018 19:01:14 +0000 (21:01 +0200)
customer/fbb-api/test.yaml
customer/fbb-api/tst-api01-fbb.pixelpark.net.yaml
customer/fbb-api/tst-api02-fbb.pixelpark.net.yaml

index 24e7adccef5253eb64bc131300ad28a2d1a7485b..391ae39be5592fcc171aa2602fd7d0b32688e6aa 100644 (file)
@@ -57,6 +57,10 @@ sudo::configs:
     priority: "06"
     content: |
       jenkins ALL=(apache) NOPASSWD: ALL
+  apache_restart_worker_rights:
+    priority: "07"
+    content: |
+      apache ALL=(root) NOPASSWD: /bin/systemctl restart fbb-worker.target
 
 repo::remi_php72: true
 
index 87d2781757ff0f92fb50854c4b91fc98e2411020..27f96f116f0f49fb76941098b8915b6484ba09ea 100644 (file)
@@ -73,5 +73,5 @@ infra::profile::apache::pp_vhosts:
         require:
           requires:
             - 'user hh-push'
-            - 'ip 10.5.13.142 10.5.13.144 217.66.51.248 192.168.66.253 192.168.66.254 10.99.1.10'
+            - 'ip 10.5.13.142 217.66.51.248 192.168.66.253 192.168.66.254 10.99.1.10'
           enforce: all
index d19acd1e1cfa00ca349b724485d656b34231e5b6..f436a29c467ebe5cb88cc65a45ec2516a34a4966 100644 (file)
@@ -66,5 +66,5 @@ infra::profile::apache::pp_vhosts:
         require:
           requires:
             - 'user hh-push'
-            - 'ip 10.5.13.142 10.5.13.144 217.66.51.248 192.168.66.253 192.168.66.254 10.99.1.10'
+            - 'ip 10.5.13.142 217.66.51.248 192.168.66.253 192.168.66.254 10.99.1.10'
           enforce: all