[chef] RE: RE: How to force convergence without bootstrapping?


Chronological Thread 
  • From: "Fouts, Chris" < >
  • To: " " < >
  • Subject: [chef] RE: RE: How to force convergence without bootstrapping?
  • Date: Wed, 15 Oct 2014 14:21:53 +0000
  • Accept-language: en-US

Sorry, let me ask it differently.

 

I do the following

1.      knife bootstrap a node

2.      knife node run_list add <node> “run_list”

3.      chef-client on node, which converges the cookbooks

 

Normally, re-running chef-client on the node again will not do anything since the cookbooks have already run the first time, meaning I’ll just get an “up-to-date” message

 

My question is, how can I re-run chef-client to make it “act” like I have not done step 3 above the first time?

 

Chris

 

 

From: Nguyen, Dang [mailto:
Sent: Tuesday, October 14, 2014 8:12 PM
To:
Subject: [chef] RE: How to force convergence without bootstrapping?

 

Assuming you've bootstrapped the node already and assigned it a role, you simply run chef client.

-----Original Message-----
From: Fouts, Chris
Received: Tuesday, 14 Oct 2014, 5:08PM
To: ">
Subject: [chef] How to force convergence without bootstrapping?

Is there a way to “force” my cookbooks to rerun without bootstrapping my nodes?

 

Chris




Archive powered by MHonArc 2.6.16.

§