Apply cookbooks on multiple nodes at same time


#1

Hi All,

I have a requirement where cookbooks present on chef server need to be applied
to 5 nodes at the same time. I didn’t find any suitable way in chef. Please
suggest can we achieve this through chef?

Thanks
Amandeep Singh


#2

Hi,

    By setting  node under  one environment and set a role and run it.

Thanks,
Indra


From: "amanscollection@gmail.com" amanscollection@gmail.com
To: chef@lists.opscode.com
Sent: Wednesday, 29 October 2014 3:57 PM
Subject: [chef] Apply cookbooks on multiple nodes at same time

Hi All,

I have a requirement where cookbooks present on chef server need to be applied
to 5 nodes at the same time. I didn’t find any suitable way in chef. Please
suggest can we achieve this through chef?

Thanks
Amandeep Singh


#3

If your concern is around timing, you’ll need a separate process to handle
synchronization across the nodes (mssh, knife ssh, push jobs, etc). Chef
isn’t exactly a deployment system as much as it is a config management
system, though with tooling there can definitely be overlap. The native
behavior is more like the database term ‘eventual consistency’.
On Oct 29, 2014 3:28 AM, amanscollection@gmail.com wrote:

Hi All,

I have a requirement where cookbooks present on chef server need to be
applied
to 5 nodes at the same time. I didn’t find any suitable way in chef. Please
suggest can we achieve this through chef?

Thanks
Amandeep Singh