]> Frank Brehm's Git Trees - pixelpark/hiera.git/commitdiff
pixelpark web-testtelefonie initial
authorAndreas Gerstenberg <gerstenberg@pixelpark.com>
Wed, 28 Jun 2017 09:46:03 +0000 (11:46 +0200)
committerAndreas Gerstenberg <gerstenberg@pixelpark.com>
Wed, 28 Jun 2017 09:46:03 +0000 (11:46 +0200)
customer/pixelpark/web-testtelefonie.pixelpark.com.yaml

index 3b0442d3c925d4f4820fbb228ffd4a4ad755de38..44b57f35a0df234296fd06108ff3df93e885f69b 100644 (file)
@@ -1,2 +1,42 @@
 ---
 infra::role: base
+infra::additional_classes:
+  - infra::profile::apache
+  - infra::profile::cron
+
+infra::profile::apache::pp_vhosts:
+  testtelefonie:
+    docroot: /var/www/testtelefonie
+    servername: web-testtelefonie.pixelpark.com
+    serveraliases:
+      - testtelefonie.pixelpark.com
+    ssl: false
+    directories:
+      - provider: directory
+        path: '/var/www/testtelefonie'
+        options:
+          - FollowSymLinks
+          - MultiViews
+        allow_override:
+          - All
+        directoryindex: index.html
+
+infra::profile::cron::cronjobs:
+  web-stop:
+    command: 'systemctl stop httpd'
+    minute: '0'
+    hour: '16'
+    date: '*'
+    month: '*'
+    weekday: '*'
+    user: apache
+    description: 'stop Apache'
+  web-start:
+    command: 'systemctl start httpd'
+    minute: '15'
+    hour: '16'
+    date: '*'
+    month: '*'
+    weekday: '*'
+    user: apache
+    description: 'start Apache'