Class: ChefMetal::ChefRunData

Inherits:
Object
  • Object
show all
Extended by:
Cheffish::WithPattern
Defined in:
lib/chef_metal/chef_run_data.rb

Instance Method Summary collapse

Instance Method Details

#add_provisioner_options(options, &block) ⇒ Object



11
12
13
14
15
16
17
# File 'lib/chef_metal/chef_run_data.rb', line 11

def add_provisioner_options(options, &block)
  if current_provisioner_options
    with_provisioner_options(Chef::Mixin::DeepMerge.hash_only_merge(current_provisioner_options, options), &block)
  else
    with_provisioner_options(options)
  end
end