Skip to content

Instantly share code, notes, and snippets.

@fatmcgav
Created May 7, 2014 14:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fatmcgav/179e2b8b74152896621f to your computer and use it in GitHub Desktop.
Save fatmcgav/179e2b8b74152896621f to your computer and use it in GitHub Desktop.
Vagrant Hiera
---
:backends:
- yaml
:yaml:
:datadir: /vagrant/puppet/hieradata
:hierarchy:
- "nodes/%{::clientcert}"
- "os/%{::operatingsystem}"
- "common/common"
puppet]$ pwd
/vagrant/puppet
puppet]$ sudo puppet apply --hiera_config hieradata/hiera.yaml --modulepath modules/ manifests/site.pp
Vagrantfile
└───puppet
├───hieradata
│ └───common
├───manifests
└───modules
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment