Skip to content

Commit

Permalink
Merge pull request #461 from jfryman/add-additional-docs-module_data
Browse files Browse the repository at this point in the history
Add instructions on bootstrapping puppet-module-data
  • Loading branch information
jfryman committed Sep 25, 2014
2 parents b8e2ccc + 6ac29a2 commit d56c7c1
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions docs/hiera.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d56c7c1

Please sign in to comment.