My Profile Photo

Spencer Owen


The art of progress is to preserve order amid change and preserve change amid order - Alfred North Whitehead


  1. CHEF copy from network path

    I discovered a bug in the CHEF mount resource which has been reported here:


  2. Chef datacenter design pattern

    Every configuration management tool has the concept of config hierarchy. Puppet has Hiera, ansible has groups …


  3. CHEF notify :before resource

    Update This blog article was written before chef 12.6 which now includes a :before notification timer. Take a look at how it works here:


  4. CHEF 12 Admin Clients

    There are two types of objects in chef. …


  5. CHEF on Windows - Promote to local administrator

    The world of Automation on Windows, sometimes requires that you run a script as a local administrator account. …


  6. Multiple knife config files

    Chef 12 has an awesome new feature called ‘organizations’ that allows you to split your chef server into logical units. Perfect if you have a hard divide between production and lab. …


  7. Elasticsearch change default shard count

    By default, elasticsearch will create 5 shards when receiving data from logstash. While 5 shards, may be a good default, there are times that you may want to increase and decrease this value. …


  8. Slack notifications with hyperv

    I frequently start VM’s on a hyperV host using the following powershell …


  9. Elasticsearch Commands

    A collection of shortcuts when working with elasticsearch: …


  10. Defensive puppet with strict variables

    At puppetconf 2014, Tomas Doran pointed out that if you aren’t checking your puppet manifests for strict variables, you are figurativly punching a puppy in the face. Noone wants that, nor do they want to debug why your module is trying to use an invalid variable. You should always enable checks for strict variables. Here’s why: …