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