Idiomatic way to invoke chef-solo?
Posted
by kerkeslager
on Server Fault
See other posts from Server Fault
or by kerkeslager
Published on 2010-03-25T16:27:03Z
Indexed on
2010/03/25
16:33 UTC
Read the original article
Hit count: 514
chef
What is the idiomatic way to invoke chef-solo? Most sites do this:
chef-solo -c ~/solo.rb -j ~/node.json -r http://www.example.com/chef-solo.tar.gz
But that's long. There are a few shorter ways to do this that I can think of:
- A rake task (
rake chef-solo
). - A small shell script (
run-chef-solo
). - An alias (can override the name, like
chef-solo
).
What is the idiomatic way to do this? How are other chef users invoking chef?
© Server Fault or respective owner