Skip to content

Commit

Permalink
Merge pull request #125 from zaphod42/issue/1.x/not-detecting-puppet-…
Browse files Browse the repository at this point in the history
…correctly-in-rack

(#20137) Test for Puppet robustly
  • Loading branch information
pcarlisle committed Apr 8, 2013
2 parents 6414532 + d26994c commit ab86376
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/hiera/puppet_logger.rb
Expand Up @@ -2,7 +2,7 @@ class Hiera
module Puppet_logger
class << self
def suitable?
Kernel.const_defined?(:Puppet)
defined?(::Puppet) == "constant"
end

def warn(msg)
Expand Down

0 comments on commit ab86376

Please sign in to comment.