[chef] several questions regarding knife


Chronological Thread 
  • From: Kirill Timofeev < >
  • To: " " < >
  • Subject: [chef] several questions regarding knife
  • Date: Thu, 21 Feb 2013 12:15:42 -0800

Folks,

may I ask you to clarify the following:

1. Is it possible to use knife to find all nodes with certain role in run list and change this role to another role?
2. When I do "knife node run_list add some_node some_role" a recipe with name "some_role" is added to run list, not node, what do I need to add role and not recipe?
3. After doing previous step command "knife node run_list remove some_node some_role" doesn't remove newly added recipe with name "some_role", is this expected?
4. After changing manually roles on certain nodes from "old_role" to "new_role" I see via "knife search node "platform_version:10.04" that run list is ok, but roles still mention "old_role", why is this so?

I'm using latest chef server (11.06) and knife 10.18.0

Thanks,
Kirill.



Archive powered by MHonArc 2.6.16.

§