From: Silvio Rhatto Date: Tue, 20 Sep 2011 17:29:56 +0000 (-0300) Subject: Per domain htdocs files X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=e1a2490d08a02b418362a5339e00fb4bf6419275;p=puppet-nodo.git Per domain htdocs files --- 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", ] }