aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--modules/apache/manifests/init.pp2
-rw-r--r--modules/apache/templates/mod_php.conf2
2 files changed, 3 insertions, 1 deletions
diff --git a/modules/apache/manifests/init.pp b/modules/apache/manifests/init.pp
index 5a117e8a..8f9a862b 100644
--- a/modules/apache/manifests/init.pp
+++ b/modules/apache/manifests/init.pp
@@ -1,6 +1,8 @@
class apache {
class base {
+ php_date_timezone = "UTC"
+
package { "apache-mpm-prefork":
alias => apache,
ensure => installed
diff --git a/modules/apache/templates/mod_php.conf b/modules/apache/templates/mod_php.conf
index a92a99f6..6c0f20d4 100644
--- a/modules/apache/templates/mod_php.conf
+++ b/modules/apache/templates/mod_php.conf
@@ -1,5 +1,5 @@
# as php insist to have this value set, let's
# look on the system for him
-php_value date.timezone "<%= timezone %>"
+php_value date.timezone "<%= php_date_timezone %>"
php_value sendmail_path "/usr/sbin/sendmail -t -i -f root@<%= domain %>"