lib/bolt/pal.rb
# PALError is used to convert errors from executing puppet code into
# Bolt::Errors
PALError is used to convert errors from executing puppet code into
Bolt::Errors
PALError is used to convert errors from executing puppet code into Bolt :: Errors
def generate_types(cache: false)
      require 'puppet/face/generate'
      in_bolt_compiler do
        generator = Puppet::Generate::Type
        inputs = generator.find_inputs(:pcore)
        FileUtils.mkdir_p(@resource_types)
        cache_plan_info if @project && cache
        cache_task_info if @project && cache
        generator.generate(inputs, @resource_types, true)
      end
    end
def generate_types ( cache : false ) require 'puppet/face/generate' in_bolt_compiler do generator = Puppet :: Generate :: Type inputs = generator . find_inputs ( :pcore ) FileUtils . mkdir_p ( @resource_types ) cache_plan_info if @project && cache cache_task_info if @project && cache generator . generate ( inputs , @resource_types , true ) end end
PALError is used to convert errors from executing puppet code into
Bolt::Errors
PALError is used to convert errors from executing puppet code into Bolt :: Errors
cache
<not_specific>