Class: Bolt::PAL::YamlPlan::Step::Plan

Inherits:
Bolt::PAL::YamlPlan::Step show all
Defined in:
lib/bolt/pal/yaml_plan/step/plan.rb

Constant Summary

Constants inherited from Bolt::PAL::YamlPlan::Step

STEP_KEYS

Instance Attribute Summary

Attributes inherited from Bolt::PAL::YamlPlan::Step

#body

Class Method Summary collapse

Methods inherited from Bolt::PAL::YamlPlan::Step

create, #evaluate, #initialize, parse_code_string, #transpile, validate, validate_puppet_code, validate_step_keys

Constructor Details

This class inherits a constructor from Bolt::PAL::YamlPlan::Step

Class Method Details

.allowed_keysObject


8
9
10
# File 'lib/bolt/pal/yaml_plan/step/plan.rb', line 8

def self.allowed_keys
  super + Set['parameters']
end

.option_keysObject


12
13
14
# File 'lib/bolt/pal/yaml_plan/step/plan.rb', line 12

def self.option_keys
  Set['catch_errors', 'run_as']
end

.required_keysObject


16
17
18
# File 'lib/bolt/pal/yaml_plan/step/plan.rb', line 16

def self.required_keys
  Set['plan']
end