Quantcast
Viewing all articles
Browse latest Browse all 4

Answer by Mrigesh Priyadarshi for Bootstrapping nodes and deploying without chef server

If you don't intend to use chef-server, you can use knife-solo from workstation. It has all the commands starting from initializing the chef-repo to converge on target node.

knife solo init chef-repo

Then, you can create node.json file in the nodes sub-directory of chef-repo which will contain your runlist.

Then, you bootstrap specific nodes via knife-solo from a central workstation, i.e,

knife solo bootstrap ubuntu@172.0.0.1 nodes/node.json

It will install chef-solo and then converge the run-list on the target node.

In case you want to only converge, it can be done via:

knife solo cook ubuntu@172.0.0.1

For more reference you can refer:

https://matschaffer.github.io/knife-solo/

http://markjberger.com/an-introduction-to-chef-solo/


Viewing all articles
Browse latest Browse all 4

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>