-
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…
-
Extending logwatch
Using logwatch to report on unattended-upgrade’s “restart required” At TRI Resources International, we automate as much of our of our systems management work as possible. A couple of the tools we use with our linux servers are logwatch to keep us up to date on server health, and the unattended-upgrades package to automatically install security…