move exim vs. postfix, heavy vs. not, into hiera
[mirror/dsa-puppet.git] / modules / roles / manifests / www_master.pp
index bc37aa8..737c197 100644 (file)
@@ -1,18 +1,23 @@
 class roles::www_master {
-       ssl::service { 'www-master.debian.org':
-               notify  => Exec['service apache2 reload'],
-               key => true,
-       }
+  include apache2
 
-       $wwwdo_server_name = 'www-staging.debian.org'
-       $wwwdo_document_root = '/srv/www.debian.org/www'
-       apache2::site { '005-www-staging.debian.org':
-               site    => 'www-staging.debian.org',
-               content => template('roles/apache-www.debian.org.erb'),
-       }
+  ssl::service { 'www-master.debian.org':
+    notify => Exec['service apache2 reload'],
+    key    => true,
+  }
 
-       ssl::service { 'www-staging.debian.org' :
-               notify => Exec['service apache2 reload'],
-               key    => true,
-       }
+  $vhost_listen = '*:80'
+  $vhost_listen_443 = '*:443'
+  $redirect_vhosts = false
+  $wwwdo_server_name = 'www-staging.debian.org'
+  $wwwdo_document_root = '/srv/www.debian.org/www'
+  apache2::site { '005-www-staging.debian.org':
+    site    => 'www-staging.debian.org',
+    content => template('roles/apache-www.debian.org.erb'),
+  }
+
+  ssl::service { 'www-staging.debian.org' :
+    notify => Exec['service apache2 reload'],
+    key    => true,
+  }
 }