aboutsummaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2012-02-08 15:33:08 -0200
committerSilvio Rhatto <rhatto@riseup.net>2012-02-08 15:33:08 -0200
commitb5c24781e769bb0206fa2a3db29a4a542cb96bc4 (patch)
tree31918560487419a99f80d533ed5c641e2be1db20 /manifests
parentcd87827c006002dbbc60ff9680b1efc7cb8b0cd1 (diff)
downloadpuppet-php-b5c24781e769bb0206fa2a3db29a4a542cb96bc4.tar.gz
puppet-php-b5c24781e769bb0206fa2a3db29a4a542cb96bc4.tar.bz2
Per host and domain php.ini
Diffstat (limited to 'manifests')
-rw-r--r--manifests/init.pp8
1 files changed, 6 insertions, 2 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index 9961db3..998616c 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -34,7 +34,9 @@ class php {
owner => root,
group => root,
mode => 0644,
- source => "puppet://$server/modules/php/cli/php.ini",
+ source => [ "puppet://$server/modules/site-php/cli/$fqdn/php.ini",
+ "puppet://$server/modules/site-php/cli/$domain/php.ini",
+ "puppet://$server/modules/php/cli/php.ini" ]
require => Package['php5-cli'],
}
@@ -43,7 +45,9 @@ class php {
owner => root,
group => root,
mode => 0644,
- source => "puppet://$server/modules/php/apache2/php.ini",
+ source => [ "puppet://$server/modules/site-php/apache2/$fqdn/php.ini",
+ "puppet://$server/modules/site-php/apache2/$domain/php.ini",
+ "puppet://$server/modules/php/apache2/php.ini" ]
notify => Service['apache2'],
require => Package['php5'],
}