Using uniquely defined key-value on a central server in puppet

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 pupper 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:

  1. git clone  https://github.com/woutervb/hiera-central_property.git
  2. cd hiera-central*
  3. rake
  4. cd pkg
  5. gem install *.gem

After these steps the regular hiera call’s can be used in manifests to retrieve the data.

Have fun