From 0592091ed49a4398a54b70f027796d3780ff1d50 Mon Sep 17 00:00:00 2001 From: Philipp Dallig Date: Mon, 18 Jan 2016 15:42:20 +0100 Subject: [PATCH] sirona-url-shorter - initial yaml --- customer/sirona-url-shorter/production.yaml | 33 +++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 customer/sirona-url-shorter/production.yaml diff --git a/customer/sirona-url-shorter/production.yaml b/customer/sirona-url-shorter/production.yaml new file mode 100644 index 00000000..988379ed --- /dev/null +++ b/customer/sirona-url-shorter/production.yaml @@ -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 -- 2.39.5