Method: Puppet::Pal::ScriptCompiler#plan_signature
- Defined in:
- lib/puppet/pal/script_compiler.rb
#plan_signature(plan_name) ⇒ Puppet::Pal::PlanSignature?
Returns the signature of the given plan name
10 11 12 13 14 15 16 17 18 19 |
# File 'lib/puppet/pal/script_compiler.rb', line 10 def plan_signature(plan_name) loader = internal_compiler.loaders.private_environment_loader func = loader.load(:plan, plan_name) if func return PlanSignature.new(func) end # Could not find plan nil end |