itamae
itamae copied to clipboard
Separate attributes set in a recipe and in pre_action
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'
fixed https://github.com/itamae-kitchen/itamae/commit/28d33da3cb67c6a7635e47845b0055cb17df53a8