Skip to content

Commit

Permalink
Merge pull request #833 from GeoffWilliams/classroom_php_fix
Browse files Browse the repository at this point in the history
force class definition checks to use absolute scope
  • Loading branch information
Morgan Haskel committed Sep 18, 2014
2 parents b8d4a2f + e550ec2 commit 9724bf2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions manifests/mod/php.pp
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@
$template = 'apache/mod/php5.conf.erb',
$source = undef,
) {
if defined(Class['apache::mod::prefork']) {
if defined(Class['::apache::mod::prefork']) {
Class['::apache::mod::prefork']->File['php5.conf']
}
elsif defined(Class['apache::mod::itk']) {
elsif defined(Class['::apache::mod::itk']) {
Class['::apache::mod::itk']->File['php5.conf']
}
else {
Expand Down

0 comments on commit 9724bf2

Please sign in to comment.