[chef] Re: To edit run list of server by command line


Chronological Thread 
  • From: Cassiano Leal < >
  • To:
  • Subject: [chef] Re: To edit run list of server by command line
  • Date: Thu, 28 Nov 2013 13:51:22 -0200

Yes, via knife. A simple “knife node” spits out all options for that subcommand, among which:

knife node run_list add [NODE] [ENTRY[,ENTRY]] (options)
knife node run_list remove [NODE] [ENTRIES] (options)
knife node run_list set NODE ENTRIES (options)

--
Cassiano Leal
http://cassianoleal.com
http://twitter.com/cassianoleal

On Thursday, November 28, 2013 at 12:43, wrote:


Hi,

Is there any way to edit run list of server via command line instead of using
GUI and when i execute the command "knife node edit <server>" files open and in
that i have to update and save the file.

Here i want to edit file via command as i have to use this in my automation
script.

Please share your inputs for this query.

Thanks in advance !!!!

Regards,
Mittal.A




Archive powered by MHonArc 2.6.16.

§