Skip to content

Instantly share code, notes, and snippets.

@brokenthumbs
Created March 21, 2014 19:11
Show Gist options
  • Save brokenthumbs/9693765 to your computer and use it in GitHub Desktop.
Save brokenthumbs/9693765 to your computer and use it in GitHub Desktop.
---
:backends:
- yaml
:hierarchy:
- %{::environment}
- common
:yaml:
:datadir: /etc/puppet/hieradata
:merge_behavior: deeper
class foo {
$admin_user = hiera("admin_user")
file { "/var/foo.conf":
ensure => present,
content => template("foo/template.erb"),
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment