[chef] RE: Re: temporarily disable one cookbook on one node.


Chronological Thread 
  • From: bill zhu < >
  • To: " " < >
  • Subject: [chef] RE: Re: temporarily disable one cookbook on one node.
  • Date: Tue, 8 Oct 2013 17:00:33 -0400
  • Importance: Normal

Hi, Nikhil,

Thanks for your reply. what I want is:
check a file on local FS of node, if string is disabled, role or cookbook will not functional for this node only when chef-client running.

I can do your suggestions on chef server, but my customers want to control it by themselves.

Regards

Bill


From:
Date: Tue, 8 Oct 2013 16:59:40 -0400
To:
Subject: [chef] Re: temporarily disable one cookbook on one node.

You can probably run knife node edit $nodename and disable that cookbook/role temporarily. Once you are completed with your maintenance, add the role/cookbook back via knife node edit
Nikhil Shah  System Administrator

The Orchard® / www.theorchard.com

t (+1) 212.308.5648 / f (+1) 212.201.9203
23 E. 4th St., 3rd Fl / New York, NY 10003

The Daily Rind™ / www.dailyrindblog.com
Facebook / @orchtweets

Privileged And Confidential Communication.
This electronic transmission, and any documents attached hereto, (a) are protected by the Electronic Communications Privacy Act (18 USC §§ 2510-2521), (b) may contain confidential and/or legally privileged information, and (c) are for the sole use of the intended recipient named above. If you have received this electronic message in error, please notify the sender and delete the electronic message. Any disclosure, copying, distribution, or use of the contents of the information received in error is strictly prohibited.
 


I am a newbie for chef. Is there any way to disable one cookbook or role on one




Archive powered by MHonArc 2.6.16.

§