Questions tagged [knife-solo]

Concepts from spatula and littlechef implemented as a knife plugin.

knife-solo adds a handful of commands that aim to make working with chef-solo as powerful as chef-server. It currently adds 5 subcommands to knife:

knife solo init is used to create a new directory structure (i.e. “kitchen”) that fits with Chef's standard structure and can be used to build and store recipes.

knife solo prepare installs Chef on a given host. It's structured to auto-detect the target OS and change the installation process accordingly.

knife solo cook uploads the current kitchen (Chef repo) to the target host and runs chef-solo on that host.

knife solo bootstrap combines the two previous ones (prepare and cook). knife-solo also adds --solo command line option and +knife+ configuration parameter to knife bootstrap that can be used for triggering “knife solo bootstrap” instead of the normal template based chef-client bootstrap.

knife solo clean removes the uploaded kitchen from the target host.

34 questions
0
votes
1 answer

Not able to create environments and roles using chef-solo and knife

I installed chef-solo using curl -L https://www.opscode.com/chef/install.sh | bash But when I try to create roles and environments, I am getting the below error: knife role create test ERROR: Your private key could not be loaded from…
topblog
  • 93
  • 2
  • 7
0
votes
1 answer

Can I use Chef-Solo to provision a server created with knife-eucalyptus

I am able to create a new server using knife-eucalyptus like so: knife euca server create The server gets created but provisioning fails with the following message: "ERROR: Errno::ENOENT: No such file or directory - /etc/chef/validation.pem" This…
StFS
  • 1,639
  • 2
  • 15
  • 31
0
votes
3 answers

Site Deployment with Chef but without full Node setup

We use Chef (Chef-Solo) for creating our hosted site nodes, and for that it is wonderful. We keep track of our nodes as JSON files using knife solo. Our node configurations (json files) themselves are checked into a git repo. We have a one to one…
Michael Bopp
  • 656
  • 1
  • 4
  • 13
0
votes
1 answer

chef solo prepare command does not work

I'm trying to using chef solo on a remote windows machine. My "chef solo prepare" command works fine on a linux remote machine but on a windows remote machine with cygwin openssh running, when I run: knife solo prepare guy@64.231.175.27 -i…
max
  • 9,708
  • 15
  • 89
  • 144
1 2
3