From 6ac29a2d385cb6166e506ed263f6a0fcf7874d21 Mon Sep 17 00:00:00 2001 From: James Fryman Date: Wed, 24 Sep 2014 17:40:19 -0700 Subject: [PATCH] need to add instructions to configure and enable puppet-module-data --- docs/hiera.md | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/docs/hiera.md b/docs/hiera.md index 3a45366bc..731b1da14 100644 --- a/docs/hiera.md +++ b/docs/hiera.md @@ -5,6 +5,35 @@ by R.I. Pinnear to allow for a significant amount of flexibility with base configuration of the module. This is to reduce the amount of clutter starting to gather in `params.pp`, and provide a foundation for future enhancements. +## Installation + +In order to leverage `puppet-module-data`, you must add an additional +configuration item to your `hiera.yaml` file to load the new backend. Simply +add the following code block. + +``` +:backends: +... + - module_data +``` + +### Vagrant + +In order to use this module with Vagrant, you will need to also configure +Vagrant to load up Hiera. This can be done with the following directives +in your Vagrantfile. + +``` + config.vm.provision "puppet" do |puppet| + ... + puppet.hiera_config_path = "hiera.yaml" + puppet.options = "--pluginsync" + end +``` + +For a full example, please take a look at https://gist.github.com/jfryman/e9f08affec54307e5198 +to get additional information to bootstrap this module. + ## Upgrading If you happen to be here because of some silly deprecation notice, it is