[chef] Re: Re: How to add several roles/recipes in an existing node?


Chronological Thread 
  • From: Sachin Sagar Rai < >
  • To:
  • Subject: [chef] Re: Re: How to add several roles/recipes in an existing node?
  • Date: Thu, 8 Mar 2012 20:45:11 +0545

@Jamie
That doesn't work too.
There is a bug as @Bryan said.

-------------------------------------------
@millisami
~ Sachin Sagar Rai
Ruby on Rails Developer
http://tfm.com.np
http://nepalonrails.tumblr.com
Sent with Sparrow

On Thursday, March 8, 2012 at 8:29 PM, Jamie van Dyke wrote:

Try separating roles with double quotes:  "role[blah]","role[moo]"

On Mar 8, 2012, at 2:42 PM, Sachin Sagar Rai wrote:


How can I add list of roles/recipes via knife in the nodes run list?

When I add multiple roles, the resulting run list for that node is weird.

    knife node run_list add i-4f55fb2b 'role[base],role[app_database_master],role[app_ror],role[app_ror_run_migrations]'

    run_list: 
        recipe[recipe[recipe[recipe[role[base],role[wecove_database_master],role[app_ror],role[app_ror_run_migrations]]]]
        recipe[role[base],role[app_database_master],role[app_ror],role[app_ror_run_migrations]]

In the help `knife node run_list -h`, there is bulk delete but not bulk add.

Is there any work-around for this?

-------------------------------------------
@millisami
~ Sachin Sagar Rai
Ruby on Rails Developer
http://tfm.com.np
http://nepalonrails.tumblr.com
Sent with Sparrow






Archive powered by MHonArc 2.6.16.

§