aboutsummaryrefslogtreecommitdiffstats
path: root/modules/apache
diff options
context:
space:
mode:
authorMichael Scherer <misc@mageia.org>2012-03-25 12:20:27 +0000
committerMichael Scherer <misc@mageia.org>2012-03-25 12:20:27 +0000
commit0f8d9354df4b3fa9bdb3876528b131ed9a0d9d79 (patch)
tree43b7de6aac068b86dab834afb65777bfef14723d /modules/apache
parentf83e2c85a7f0d2402982942150688b7373a9d5ab (diff)
downloadpuppet-0f8d9354df4b3fa9bdb3876528b131ed9a0d9d79.tar
puppet-0f8d9354df4b3fa9bdb3876528b131ed9a0d9d79.tar.gz
puppet-0f8d9354df4b3fa9bdb3876528b131ed9a0d9d79.tar.bz2
puppet-0f8d9354df4b3fa9bdb3876528b131ed9a0d9d79.tar.xz
puppet-0f8d9354df4b3fa9bdb3876528b131ed9a0d9d79.zip
split mod_php in a separate file
Diffstat (limited to 'modules/apache')
-rw-r--r--modules/apache/manifests/init.pp10
-rw-r--r--modules/apache/manifests/mod/php.pp10
2 files changed, 10 insertions, 10 deletions
diff --git a/modules/apache/manifests/init.pp b/modules/apache/manifests/init.pp
index c4645662..aa0e821f 100644
--- a/modules/apache/manifests/init.pp
+++ b/modules/apache/manifests/init.pp
@@ -35,16 +35,6 @@ class apache {
}
}
- class mod_php inherits base {
- $php_date_timezone = "UTC"
-
- package { "apache-mod_php": }
-
- apache::config { "/etc/httpd/conf.d/mod_php.conf":
- content => template('apache/mod_php.conf'),
- }
- }
-
class mod_wsgi inherits base {
package { "apache-mod_wsgi": }
diff --git a/modules/apache/manifests/mod/php.pp b/modules/apache/manifests/mod/php.pp
new file mode 100644
index 00000000..28ac6e31
--- /dev/null
+++ b/modules/apache/manifests/mod/php.pp
@@ -0,0 +1,10 @@
+class apache::mod::php {
+ include apache::base
+ $php_date_timezone = 'UTC'
+
+ package { 'apache-mod_php': }
+
+ apache::config { '/etc/httpd/conf.d/mod_php.conf':
+ content => template('apache/mod_php.conf'),
+ }
+}