From e1a2490d08a02b418362a5339e00fb4bf6419275 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Tue, 20 Sep 2011 14:29:56 -0300 Subject: Per domain htdocs files --- manifests/subsystems/websites.pp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'manifests/subsystems/websites.pp') 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", ] } -- cgit v1.2.3