Merge pull request #461 from jfryman/add-additional-docs-module_data

Add instructions on bootstrapping puppet-module-data
This commit is contained in:
James Fryman 2014-09-24 17:44:57 -07:00
commit d56c7c12f7

View file

@ -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