]> Frank Brehm's Git Trees - pixelpark/hiera.git/commitdiff
sirona-url-shorter - initial yaml
authorPhilipp Dallig <philipp.dallig@pixelpark.com>
Mon, 18 Jan 2016 14:42:20 +0000 (15:42 +0100)
committerPhilipp Dallig <philipp.dallig@pixelpark.com>
Mon, 18 Jan 2016 14:42:20 +0000 (15:42 +0100)
customer/sirona-url-shorter/production.yaml [new file with mode: 0644]

diff --git a/customer/sirona-url-shorter/production.yaml b/customer/sirona-url-shorter/production.yaml
new file mode 100644 (file)
index 0000000..988379e
--- /dev/null
@@ -0,0 +1,33 @@
+---
+site::role: base
+site::additional_classes:
+  - site::profile::apache_php
+  - apache::mod::rewrite
+# MySQL vielleicht als Service von Azure??
+#  - site::profile::mysql_server
+
+apache::mpm_module: event
+site::profile::apache::pp_vhosts:
+  url-shorter:
+    servername: www.siro.na
+    serveraliases:
+      - siro.na
+    directories:
+      - directory_docroot:
+        provider: 'directory'
+        path: "/var/www/url-shorter"
+        addhandlers:
+          - { handler: "proxy:unix:/var/run/php5-fpm-url-shorter.sock|fcgi://./" , extensions: '.php' }
+        options:
+          - FollowSymLinks
+          - MultiViews
+        allow_override:
+          - All
+        directoryindex: 'index.php'
+
+site::profile::apache_php::fpm_pool:
+  url-shorter: {}
+
+php::fpm::pools:
+  www:
+    ensure: absent
\ No newline at end of file