aboutsummaryrefslogtreecommitdiff
path: root/manifests/subsystems/websites.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/subsystems/websites.pp')
-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",