In the previous post I wrote about an application capable of storing key-value pairs in an hierarchical way.

As this application has an rest interface to request the elements I also wrote an puppet hiera backend. This backend does allow one to use the key-value pairs defined in the application to be used in puppet manifests.

This plugin can be found on github https://github.com/woutervb/hiera-central_property.

The installation is quite simple, using the following steps:

git clone https://github.com/woutervb/hiera-central_property.git
cd hiera-central*
rake
cd pkg
gem install *.gem

After these steps the regular hiera calls can be used in manifests to retrieve the data.

Have fun