Class: Chake::ConfigManager::ItamaeBase
Instance Attribute Summary
#node
Instance Method Summary
collapse
accept?, all, #bootstrap_steps, get, inherited, init, #initialize, #name, #needs_upload?, #path, priority, short_name, #to_s
Instance Method Details
#apply(config) ⇒ Object
18
19
20
|
# File 'lib/chake/config_manager/itamae_base.rb', line 18
def apply(config)
run_itamae(false, config)
end
|
#converge ⇒ Object
4
5
6
7
8
9
|
# File 'lib/chake/config_manager/itamae_base.rb', line 4
def converge
recipes = node.data[name]
return if recipes.empty?
run_itamae(false, *recipes)
end
|
#preview ⇒ Object
11
12
13
14
15
16
|
# File 'lib/chake/config_manager/itamae_base.rb', line 11
def preview
recipes = node.data['itamae-remote']
return if recipes.empty?
run_itamae(true, *recipes)
end
|