Vagrant::Hiera
TODO: Configures puppet-heira on your vagrant box
Installation
Add this line to your application's Gemfile:
gem 'vagrant-hiera'
And then execute:
$ bundle
Or install it yourself as:
$ gem install vagrant-hiera
Usage
Create a hiera.yaml file on your host with the datadir pointing to /tmp/vagrant-hiera/data
:json:
:datadir: /var/lib/hiera
Add the following to your VagrantFile:
config.hiera.config_path = 'host/path/to/the/directory/that/contains/hiera.yaml'
config.hiera.config_file = 'hiera.yaml'
config.hiera.data_path = 'host/path/to/hiera-data'
And then...
vagrant up
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Added some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request