Skip to content

Instantly share code, notes, and snippets.

@dannykansas
Created November 4, 2014 22:21

Revisions

  1. dannykansas created this gist Nov 4, 2014.
    34 changes: 34 additions & 0 deletions gistfile1.rb
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,34 @@
    # 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