[chef] Changing runlist of an active node


Chronological Thread 
  • From: Steve Bennett < >
  • To:
  • Subject: [chef] Changing runlist of an active node
  • Date: Mon, 3 Dec 2012 16:09:51 +1100

Hi all,
  Maybe a dumb question :) I did this:

1) Bootstrap node, setting run list
2) knife node run_list add 'role[provider]'
3) ssh into the node, 'sudo chef-client'

It complained that the recipe for 'provider' didn't exist on the node.

What's the right way to do this? I can run bootstrap again (with the complete run list) but that seems heavy-handed: reinstalling Chef etc. What am I missing?

Thanks,
Steve



Archive powered by MHonArc 2.6.16.

§