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

Installing Chef Standalone Server

The following example will focus on standalone installation of Chef Server. Firstly, we will need to download the Chef Server package from to which I will be installing the package on an Ubuntu Linux 14.04 operating system. Once the package is downloaded I uploaded the package to the standalone server and installed the package from the … More Installing Chef Standalone Server