Class: Chake::ConfigManager::Itamae
Instance Attribute Summary
#node
Class Method Summary
collapse
Instance Method Summary
collapse
all, #bootstrap_steps, get, inherited, init, #initialize, #name, #path, priority, short_name, #to_s
Class Method Details
.accept?(node) ⇒ Boolean
23
24
25
|
# File 'lib/chake/config_manager/itamae.rb', line 23
def self.accept?(node)
node.data.key?('itamae')
end
|
Instance Method Details
#apply(config) ⇒ Object
15
16
17
|
# File 'lib/chake/config_manager/itamae.rb', line 15
def apply(config)
run_itamae(config)
end
|
#converge ⇒ Object
8
9
10
11
12
13
|
# File 'lib/chake/config_manager/itamae.rb', line 8
def converge
recipes = node.data['itamae']
return if recipes.empty?
run_itamae(*recipes)
end
|
#needs_upload? ⇒ Boolean
19
20
21
|
# File 'lib/chake/config_manager/itamae.rb', line 19
def needs_upload?
false
end
|