aboutsummaryrefslogtreecommitdiff
path: root/manifests/subsystems
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2011-08-30 10:32:50 -0300
committerSilvio Rhatto <rhatto@riseup.net>2011-08-30 10:32:50 -0300
commit4f910c1c22abfa9d2088aa0028523cfdec29f815 (patch)
treee4a94082e40658554f7bb138c414719a756e03f4 /manifests/subsystems
parent4fa661e528aa8e9d4ab1afbf90064e5705b88394 (diff)
downloadpuppet-nodo-4f910c1c22abfa9d2088aa0028523cfdec29f815.tar.gz
puppet-nodo-4f910c1c22abfa9d2088aa0028523cfdec29f815.tar.bz2
Make sure that a top level index exists for websites
Diffstat (limited to 'manifests/subsystems')
-rw-r--r--manifests/subsystems/websites.pp5
1 files changed, 5 insertions, 0 deletions
diff --git a/manifests/subsystems/websites.pp b/manifests/subsystems/websites.pp
index 1ca0ecb..cf9d5ec 100644
--- a/manifests/subsystems/websites.pp
+++ b/manifests/subsystems/websites.pp
@@ -60,6 +60,11 @@ class websites::setup {
"puppet:///modules/nodo/htdocs/missing.html", ]
}
+ # Make sure that a top level index exists
+ file { "/var/www/index.html":
+ ensure => present,
+ }
+
# Default vhost: can just be applied on the defining host
apache::site { "$default_vhost":
server_alias => "$domain",