Chef – Creating encrypted data bags with Knife Solo

In order to use data bags with Chef Solo there is  a requirement to use the knife-solo_data_bag plugin maintained by Tommy Bishop which allows you to work withchef-solo and data bags. Once we have obtained the plugin, we will need to install the rubygem in our existing envrionment and configure the knife-solo plugin. gem install knife-solo_data_bag Once installed we can … More Chef – Creating encrypted data bags with Knife Solo

Windows File System Redirector with Chef Client/Ruby

I was recently using the windows_zipfile resource to unzip content to the path C:\Windows\System32\WindowsPowerShell\v1.0\Modules as part of a recipe in a Chef cookbook which would complete successfully, but on observation would unzip the contents to C:\Windows\SysWow64\WindowsPowerShell\v1.0\Modules and cause an error when further resources references this source. The cause of this behaviour is due to the the chef-client … More Windows File System Redirector with Chef Client/Ruby

Nagios XI: Automating Host Management

I was recently looking at how to automate adding and removing managed hosts and services in Nagios XI, which can be particularly useful in cloud computing and large environments where configuration management solutions have been implemented for provisioning. In these environments we typically use configuration files based on the attributes of a server role during the provisioning … More Nagios XI: Automating Host Management

ChefConf 2014: PowerChef – Enhanced Powershell Integration For Chef Recipes

Below is a link to a presentation by Adam Edwards from the recent #chefconf,  for those that interested in integrating Powershell within their Chef recipes. The presentation highlights the use of guard to evaluate conditions during execution on the chef client, guard interpreters  to evaluate string commands and also the integration of Chef with PowerShell Desired State … More ChefConf 2014: PowerChef – Enhanced Powershell Integration For Chef Recipes