From: Philipp Dallig Date: Wed, 16 Aug 2017 15:18:58 +0000 (+0200) Subject: pixelpark-puppet - configure gitdeploy vhost X-Git-Tag: v0.1.0~2591^2~3 X-Git-Url: https://git.uhu-banane.de/?a=commitdiff_plain;h=0d2d806e5c860820de5555aac00d37a30d412e4c;p=pixelpark%2Fhiera.git pixelpark-puppet - configure gitdeploy vhost --- diff --git a/customer/pixelpark-puppet/puppetmaster02.pixelpark.com.yaml b/customer/pixelpark-puppet/puppetmaster02.pixelpark.com.yaml index f229a8b4..fe802c93 100644 --- a/customer/pixelpark-puppet/puppetmaster02.pixelpark.com.yaml +++ b/customer/pixelpark-puppet/puppetmaster02.pixelpark.com.yaml @@ -2,3 +2,33 @@ infra::role: base infra::additional_classes: - infra::profile::apache +infra::profile::apache::pp_vhosts: + gitdeploy: + servername: puppetmaster.pixelpark.com + serveraliases: + - puppetmaster01.pixelpark.com + - puppetmaster02.pixelpark.com + cert_servername: 'wildcard.pixelpark.com' + cert_customer: 'pixelpark' + ssl_chain: '/etc/pki/tls/certs/wildcard.pixelpark.com-cert.pem' + ssl_key: '/etc/pki/tls/private/wildcard.pixelpark.com-key.pem' + ssl_cert: '/etc/pki/tls/certs/wildcard.pixelpark.com-cert.pem' + docroot: /var/www/cgi-bin + directories: + - directory1: + provider: directory + path: '/var/www/cgi-bin' + options: + - Indexes + - FollowSymlinks + - MultiViews + - ExecCGI + addhandlers: + handler: cgi-script + extensions: '.py' + rewrites: + - comment: 'http to https' + rewrite_cond: + - '%%{ich-trickse}{HTTPS} !=on' + rewrite_rule: + - '(.*) https://%{literal("%")}{HTTP_HOST}%{literal("%")}{REQUEST_URI} [R=301,L]' \ No newline at end of file