summaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2016-03-25 16:44:58 -0300
committerSilvio Rhatto <rhatto@riseup.net>2016-03-25 16:44:58 -0300
commitcc0fdd50cd95c62f9f1d24c57f041f349301a7cf (patch)
tree2d2880edf8e34d68debd43871e628d7af56883e7 /manifests
parent31ff4a91ce1d3ae14da623a9eb7086cab3a539e7 (diff)
downloadpuppet-websites-cc0fdd50cd95c62f9f1d24c57f041f349301a7cf.tar.gz
puppet-websites-cc0fdd50cd95c62f9f1d24c57f041f349301a7cf.tar.bz2
Do not set an additional vhost for the machine
Diffstat (limited to 'manifests')
-rw-r--r--manifests/setup.pp2
1 files changed, 2 insertions, 0 deletions
diff --git a/manifests/setup.pp b/manifests/setup.pp
index 282c892..dd37914 100644
--- a/manifests/setup.pp
+++ b/manifests/setup.pp
@@ -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