]> gitweb.fluxo.info Git - puppet-websites.git/commitdiff
Do not set an additional vhost for the machine
authorSilvio Rhatto <rhatto@riseup.net>
Fri, 25 Mar 2016 19:44:58 +0000 (16:44 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Fri, 25 Mar 2016 19:44:58 +0000 (16:44 -0300)
manifests/setup.pp

index 282c892985f7ad76768bb6ea3162e54dfc3ee7e9..dd37914ec5d62a4df9a04490275e47acab24c60f 100644 (file)
@@ -70,12 +70,14 @@ class websites::setup {
     ensure => present,
   }
 
+  # TODO: remove in the future as the default vhost already does the job
   # Default vhost: can just be applied on the defining host
   apache::site { "${apache::server_name}":
     server_alias => "${::domain}",
     docroot      => "${apache::www_folder}",
     mpm          => false,
     tag          => 'all',
+    ensure       => absent,
   }
 
   # We have to use 'zzz-error' so it will be the last matched vhost