infra::additional_classes:
- infra::profile::wordpress
-# - infra::profile::apache_php
+ - infra::profile::apache_php
- apache::mod::headers
- infra::profile::cron
setenvif:
- "HTTPS on HTTPS=on"
-#infra::profile::apache::pp_vhosts:
-# insideforum:
-# docroot: /var/www/sparkasseblog
-# servername: dev-insideforum.sparkasseblog.de
-# access_log_format: urchinpp
-# port: 81
-# ssl: true
-# cert_servername: 'sparkasseblog.de'
-# cert_customer: 'sparkasse'
-# ssl_cert: '/etc/pki/tls/certs/sparkasseblog.de-cert.pem'
-# ssl_key: '/etc/pki/tls/private/sparkasseblog.de-key.pem'
-# ssl_chain: '/etc/pki/tls/certs/sparkasseblog.de-cert.pem'
-# ssl_verify_client: optional
-# ssl_crl: '/etc/pki/tls/certs/spk-cacrl.pem'
-# ssl_ca: '/etc/pki/tls/certs/spk-root-ca.pem'
-# ssl_verify_depth: '2'
-# directories:
-# - directory_root:
-# provider: directory
-# path: '/var/www/stundenplan/web'
-# addhandlers:
-# - { handler: "proxy:unix:/var/run/php5-fpm-sparkasseblog.sock|fcgi://./" , extensions: '.php' }
-# options:
-# - FollowSymLinks
-# - MultiViews
-# allow_override:
-# - All
-# directoryindex: 'index.php'
-# - provider: location
-# path: '/'
-# auth_type: Digest
-# auth_name: server
-# auth_digest_provider: file
-# auth_digest_algorithm: MD5
-# auth_user_file: '/etc/httpd/htdigest'
-# auth_require: 'valid-user'
-# require:
-# - local
-# - provider: location
-# path: '/wp-admin'
-# auth_type: Digest
-# auth_name: server2
-# auth_digest_provider: file
-# auth_digest_algorithm: MD5
-# auth_user_file: '/etc/httpd/htdigest'
-# auth_require: 'valid-user'
-# require:
-# - local
-# setenvif:
-# - "HTTPS on HTTPS=on"
-#
+infra::profile::apache::pp_vhosts:
+ insideforum:
+ docroot: /var/www/sparkasseblog
+ docroot_owner: apache
+ docroot_group: apache
+ docroot_mode: '2770'
+ servername: dev-insideforum.sparkasseblog.de
+ access_log_format: urchinpp
+ port: 81
+ ssl: true
+ cert_servername: 'sparkasseblog.de'
+ cert_customer: 'sparkasse'
+ ssl_cert: '/etc/pki/tls/certs/sparkasseblog.de-cert.pem'
+ ssl_key: '/etc/pki/tls/private/sparkasseblog.de-key.pem'
+ ssl_chain: '/etc/pki/tls/certs/sparkasseblog.de-cert.pem'
+ ssl_verify_client: optional
+ ssl_crl: '/etc/pki/tls/certs/spk-cacrl.pem'
+ ssl_ca: '/etc/pki/tls/certs/spk-root-ca.pem'
+ ssl_verify_depth: '2'
+ directories:
+ - directory_root:
+ provider: directory
+ path: '/var/www/stundenplan/web'
+ addhandlers:
+ - { handler: "proxy:unix:/var/run/php5-fpm-sparkasseblog.sock|fcgi://./" , extensions: '.php' }
+ options:
+ - FollowSymLinks
+ - MultiViews
+ allow_override:
+ - All
+ directoryindex: 'index.php'
+ - provider: location
+ path: '/'
+ auth_type: Digest
+ auth_name: server
+ auth_digest_provider: file
+ auth_digest_algorithm: MD5
+ auth_user_file: '/etc/httpd/htdigest'
+ auth_require: 'valid-user'
+ require:
+ - local
+ - provider: location
+ path: '/wp-admin'
+ auth_type: Digest
+ auth_name: server2
+ auth_digest_provider: file
+ auth_digest_algorithm: MD5
+ auth_user_file: '/etc/httpd/htdigest'
+ auth_require: 'valid-user'
+ require:
+ - local
+ setenvif:
+ - "HTTPS on HTTPS=on"
+
infra::profile::cron::cronjobs:
fetch_d-trust_crl:
ensure: 'present'