Category: chef

  • What’s Wrong with Chef and Other Rants

    My apologies, this is a placeholder for a number of things I have meant to write about using Chef to deploy our cloud servers.  It turns out the task took longer and was a lot more convoluted than imagined, even after considering Hofstadter’s Law, so the writing has all been pushed back.  But here’s the proposed list…

  • Fear and loathing with Chef and nginx

    I always hate having to explain why I spent 4 hours on one line of code: override[‘nginx’][‘pid’] = ‘/run/nginx.pid’ It’s not really even code, it’s just a configuration setting.  I ran into the problem using Chef, the opscode nginx cookbook, and the very-new Ubuntu 14.04 LTS.  Not sure if this applies to other configurations but debugging this sort…

  • Extending logwatch with Chef

    If you saw my previous post on Extending Logwatch, it may have occurred to you that even something as simple as manually creating three small files and saving them to the (different) correct locations with the right owners and permissions is rife with error.  Here we basically assume that anything you do manually will get…