lib/puppet/parser/compiler.rb
# Make sure all of our resources have been evaluated into native resources.
# We return true if any resources have, so that we know to continue the
# evaluate_generators loop.
Make sure all of our resources have been evaluated into native resources.
We return true if any resources have, so that we know to continue the
evaluate_generators loop.
Make sure all of our resources have been evaluated into native resources . We return true if any resources have so that we know to continue the evaluate_generators loop .
def evaluate_definitions
    exceptwrap do
      Puppet::Util::Profiler.profile("Evaluated definitions") do
        !unevaluated_resources.each do |resource|
          Puppet::Util::Profiler.profile("Evaluated resource #{resource}") do
            resource.evaluate
          end
        end.empty?
      end
    end
  end
def evaluate_definitions exceptwrap do Puppet :: Util :: Profiler . profile ( "Evaluated definitions" ) do ! unevaluated_resources . each do | resource | Puppet :: Util :: Profiler . profile ( "Evaluated resource #{resource}" ) do resource . evaluate end end . empty? end end end
Make sure all of our resources have been evaluated into native resources.
Make sure all of our resources have been evaluated into native resources .