thias / puppet-php

Puppet module to manage PHP
Other
49 stars 67 forks source link

How to set date.timezone #7

Closed xf- closed 11 years ago

xf- commented 11 years ago

I tried to set it a date.timezone, but i get an syntax error because of the .

thias commented 11 years ago

Have a look at manifests/ini.pp and you'll see that because puppet doesn't allow dots in variable names, I've used underscores instead. So something like this will work :

php::ini { '/etc/php.ini':
  date_timezone => 'Europe/Paris',
}