Skip to content

Commit

Permalink
Update puppet PHP config to enable display_errors by default, add php…
Browse files Browse the repository at this point in the history
…-defaults.erb
  • Loading branch information
Woody Gilk committed Feb 10, 2014
1 parent 5918f72 commit 3acbe6e
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
10 changes: 10 additions & 0 deletions puppet/manifests/php.pp
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,15 @@
}

package { $php_packages: }

file { "/etc/php5/apache2/conf.d/99-ushahidi.ini":
ensure => "present",
owner => "root",
group => "root",
mode => 444,
content => template("php-defaults.erb"),
require => Bulkpackage["php-packages"],
}

}

4 changes: 4 additions & 0 deletions puppet/templates/php-defaults.erb
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# WARNING: managed by puppet!
# Ushahidi PHP configuration overrides

display_errors = On

0 comments on commit 3acbe6e

Please sign in to comment.