diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2011-08-30 10:32:50 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2011-08-30 10:32:50 -0300 |
commit | 4f910c1c22abfa9d2088aa0028523cfdec29f815 (patch) | |
tree | e4a94082e40658554f7bb138c414719a756e03f4 /manifests/subsystems/websites.pp | |
parent | 4fa661e528aa8e9d4ab1afbf90064e5705b88394 (diff) | |
download | puppet-nodo-4f910c1c22abfa9d2088aa0028523cfdec29f815.tar.gz puppet-nodo-4f910c1c22abfa9d2088aa0028523cfdec29f815.tar.bz2 |
Make sure that a top level index exists for websites
Diffstat (limited to 'manifests/subsystems/websites.pp')
-rw-r--r-- | manifests/subsystems/websites.pp | 5 |
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", |