-
Notifications
You must be signed in to change notification settings - Fork 58
workflow executed resource paradigm
Philip (flip) Kromer edited this page May 9, 2012
·
1 revision
-
stages construct resources
- these have default actions
-
hanuman tracks defined order
-
do steps run in order, or is dependency explicit?
-
what about idempotency?
-
task
vsaction
vsresource
;job
,task
,group
,namespace
.
Inline option (:desc
or :description
?)
task :foo, :description => "pity the foo" do
# ...
end
DSL method option
task :foo do
description "pity the foo"
# ...
end
default action:
script 'nukes/launch_codes.rb' do
# ...
end
define the :undo
action:
script 'nukes/launch_codes.rb', :undo do
# ...
end