diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2011-09-20 14:29:56 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2011-09-20 14:29:56 -0300 |
commit | e1a2490d08a02b418362a5339e00fb4bf6419275 (patch) | |
tree | 7483874e8275d2ae1c3fc72e4b90e0bb80d78771 /manifests | |
parent | e230346572ba90a7bc4a1d6698924f9cf674820d (diff) | |
download | puppet-nodo-e1a2490d08a02b418362a5339e00fb4bf6419275.tar.gz puppet-nodo-e1a2490d08a02b418362a5339e00fb4bf6419275.tar.bz2 |
Per domain htdocs files
Diffstat (limited to 'manifests')
-rw-r--r-- | manifests/subsystems/websites.pp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/manifests/subsystems/websites.pp b/manifests/subsystems/websites.pp index cf9d5ec..da037ed 100644 --- a/manifests/subsystems/websites.pp +++ b/manifests/subsystems/websites.pp @@ -36,7 +36,7 @@ class websites::setup { # This mode will also apply to files from the source directory mode => 0644, # Puppet will automatically set +x for directories - source => [ "puppet:///modules/site-apache/htdocs/images", + source => [ "puppet:///modules/site-apache/htdocs/$domain/images", "puppet:///modules/nodo/htdocs/images", ] } @@ -46,7 +46,7 @@ class websites::setup { owner => "root", group => "root", mode => 0644, - source => [ "puppet:///modules/site-apache/htdocs/index.html", + source => [ "puppet:///modules/site-apache/htdocs/$domain/index.html", "puppet:///modules/nodo/htdocs/index.html", ] } @@ -56,7 +56,7 @@ class websites::setup { owner => "root", group => "root", mode => 0644, - source => [ "puppet:///modules/site-apache/htdocs/missing.html", + source => [ "puppet:///modules/site-apache/htdocs/$domain/missing.html", "puppet:///modules/nodo/htdocs/missing.html", ] } |