Skip to content

Instantly share code, notes, and snippets.

@astrostl
Created August 4, 2016 21:40
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 astrostl/27739ec257205d054c078b4f6c362fe0 to your computer and use it in GitHub Desktop.
Save astrostl/27739ec257205d054c078b4f6c362fe0 to your computer and use it in GitHub Desktop.
/etc/puppetlabs/code/environments/production/manifests
```
hiera_include('classes')
```
/etc/puppetlabs/puppet
```
---
:backends:
- yaml
:hierarchy:
- "nodes/%{::trusted.certname}"
- common
:yaml:
# datadir is empty here, so hiera uses its defaults:
# - /etc/puppetlabs/code/environments/%{environment}/hieradata on *nix
# - %CommonAppData%\PuppetLabs\code\environments\%{environment}\hieradata on Windows
# When specifying a datadir, make sure the directory exists.
:datadir:
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment