Created
May 7, 2014 14:00
-
-
Save fatmcgav/179e2b8b74152896621f to your computer and use it in GitHub Desktop.
Vagrant Hiera
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
:backends: | |
- yaml | |
:yaml: | |
:datadir: /vagrant/puppet/hieradata | |
:hierarchy: | |
- "nodes/%{::clientcert}" | |
- "os/%{::operatingsystem}" | |
- "common/common" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
puppet]$ pwd | |
/vagrant/puppet | |
puppet]$ sudo puppet apply --hiera_config hieradata/hiera.yaml --modulepath modules/ manifests/site.pp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Vagrantfile | |
└───puppet | |
├───hieradata | |
│ └───common | |
├───manifests | |
└───modules |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment