chef-provisioning icon indicating copy to clipboard operation
chef-provisioning copied to clipboard

Machine updates runlist every run with unqualified recipes

Open christinedraper opened this issue 10 years ago • 3 comments

A recipe like this:

machine "dbserver" do
  run_list ["testapp::db"]
end

will cause the resource to update every run, because it compares "recipe[testapp::db]" against "testapp::db" and decides they are different

christinedraper avatar Feb 27 '15 19:02 christinedraper

@christinedraper I haven't seen this recently - is this still an issue with the latest chef-provisioning?

tyler-ball avatar Jun 16 '15 22:06 tyler-ball

Tested with chef-provisioning 1.2.0. It is still occurring. I tried:

   machine "test" do
      run_list ["apt"]
   end

and each run, it converges test with:

    - update node i-5b573cac at http://localhost:8889
    -   update run_list from ["recipe[apt]"] to ["apt"]]

This also happens for run_list['apt::default'] but not runlist[ 'recipe[apt]']

christinedraper avatar Jun 17 '15 00:06 christinedraper

Also happens with dev driver 1.3.0.dev.0

christinedraper avatar Jun 17 '15 12:06 christinedraper