Skip to content

Commit

Permalink
force class definition checks to use absolute scope
Browse files Browse the repository at this point in the history
  • Loading branch information
Geoff Williams committed Aug 29, 2014
1 parent c220ddd commit e550ec2
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 e550ec2

Please sign in to comment.