diff options
Diffstat (limited to 'lib/puppet/indirector/catalog/compiler.rb')
-rw-r--r-- | lib/puppet/indirector/catalog/compiler.rb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/puppet/indirector/catalog/compiler.rb b/lib/puppet/indirector/catalog/compiler.rb index a689eff2d..c990456e3 100644 --- a/lib/puppet/indirector/catalog/compiler.rb +++ b/lib/puppet/indirector/catalog/compiler.rb @@ -67,9 +67,7 @@ class Puppet::Resource::Catalog::Compiler < Puppet::Indirector::Code # Compile the actual catalog. def compile(node) str = "Compiled catalog for #{node.name}" - if node.environment - str += " in environment #{node.environment}" - end + str += " in environment #{node.environment}" if node.environment config = nil loglevel = networked? ? :notice : :none |