We're using Vagrant & Chef to provision the staging VM for our app.
Once I have a working cookbook, I upload it to chef-server and Jenkins hook ensures the staging env gets updated.
However, it's not clear to me how to try out the cookbook before I upload it.
Be gentle, I'm new to chef, trying to get my environment set up and have some new recipes to upload to my new chef server. I'm able to do some commands, and I was able to knife bootstrap the new node, so I'm pretty sure my configuration is correct.
It appears that it's trying to upload to localhost when I turn on verbose logging.
I'm learning Chef. My cookbooks are on Github. It seems the workflow goes:
Install cookbooks locally (download them from Github with knife site install)
Upload cookbooks to server (knife cookbook upload)
Deploy to client from server (knife ssh ... "sudo chef-client")
Is there a way to combine 1 and 2? It's not critical, but sometimes I need to conserve bandwidth.
the Clutter API reference is pretty nice, and we strive to keep it up to complete, readable and full of examples. it remains an API reference, though: it helps you only if you know what you want to do.
there are times when you know what you want to achieve but not how to get there.
My CookBook is free, although there is a Pro version as well. I use MasterCook on my PC and have accumulated 187 personal recipes. I was able to export them to a file, copy that file onto my phone's SD card, and import it into My CookBook. They all came in, complete with categories. I can see a list of recipes filtered by category or by a text snippet.
I'm running Chef solo (version 11.4.0) on a clean VPS with Ubuntu 12 installed, and I'm having some problems with apt.
For example, after I run a knife command of 'knife cookbook upload cookbook_name' from a chef workstation or somewhere, where can I find the history or log about who sent the knife command and when, and what the command is? I need to monitor all the knife behaviors on the chef server side centrally.. How to do that?
Thanks!
Summary:
I'm running into a problem with "knife data bag from file", where knife doesn't recognize the .json data bag file pulled down from a remote git repo.
Background:
I'm currently trying to transition from chef-solo use to chef server while using the cookbooks, data bags and other chef info from our remote git repo.
I've currently pulled down a copy of our git repo and set the cookbook pa
If you want a book that lays out the steps for specific Linux networking tasks, one that clearly explains the commands and configurations, this is the book for you. Linux Networking Cookbook is a soup-to-nuts collection of recipes that covers everything you need to know to perform your job as a Linux network administrator.