aboutsummaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2011-09-20 14:29:56 -0300
committerSilvio Rhatto <rhatto@riseup.net>2011-09-20 14:29:56 -0300
commite1a2490d08a02b418362a5339e00fb4bf6419275 (patch)
tree7483874e8275d2ae1c3fc72e4b90e0bb80d78771 /manifests
parente230346572ba90a7bc4a1d6698924f9cf674820d (diff)
downloadpuppet-nodo-e1a2490d08a02b418362a5339e00fb4bf6419275.tar.gz
puppet-nodo-e1a2490d08a02b418362a5339e00fb4bf6419275.tar.bz2
Per domain htdocs files
Diffstat (limited to 'manifests')
-rw-r--r--manifests/subsystems/websites.pp6
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", ]
}