itamae icon indicating copy to clipboard operation
itamae copied to clipboard

Separate attributes set in a recipe and in pre_action

Open ryotarai opened this issue 9 years ago • 1 comments

service "mysql" do
  action [:stop, :disable]
end
DEBUG :   service[mysql]
DEBUG :     service[mysql] action: stop
DEBUG :       (in show_differences)
INFO :       service[mysql] running will change from 'true' to 'false'
DEBUG :       service[mysql] enabled will not change (current value is 'true')
DEBUG :     service[mysql] action: disable
DEBUG :       (in show_differences)
INFO :       service[mysql] running will change from 'true' to 'false' # This should not appear
INFO :       service[mysql] enabled will change from 'true' to 'false'

ryotarai avatar Jul 15 '15 09:07 ryotarai

fixed https://github.com/itamae-kitchen/itamae/commit/28d33da3cb67c6a7635e47845b0055cb17df53a8

ryotarai avatar Jul 28 '15 07:07 ryotarai