Skip to content

Instantly share code, notes, and snippets.

@dannykansas
Created November 4, 2014 22:21
Show Gist options
  • Save dannykansas/d69c5e2dc024628bdcef to your computer and use it in GitHub Desktop.
Save dannykansas/d69c5e2dc024628bdcef to your computer and use it in GitHub Desktop.
# output of `tree -L 2`
├── auth.conf
├── environments
│   ├── prod
│   └── test
├── fileserver.conf
├── hiera.yaml
├── hieradata
│   ├── common.yaml
│   ├── nodes
│   ├── prod
│   ├── qa
│   └── stage
├── manifests
│   └── site.pp
├── modules
├── puppet.conf
├── puppetdb.conf
└── routes.yaml
# hiera.yaml file
---
:backends:
- yaml
:yaml:
:datadir: /etc/puppet/hieradata
:hierarchy:
- "%{::env}/%{::role}"
- "nodes/%{::hostname}"
- common
:logger: console
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment