Skip to content

Instantly share code, notes, and snippets.

@jpadams
Last active December 28, 2015 08:08
Show Gist options
  • Save jpadams/7468935 to your computer and use it in GitHub Desktop.
Save jpadams/7468935 to your computer and use it in GitHub Desktop.
# These two work fine with puppet apply non-root
#class foo ($message=hiera(message)) {
#class foo ($message='default') {
# Hiera Data bindings doesn't work with puppet apply root or non-root
class foo ($message) {
#class foo {
#$message = hiera(message)
#notify { "A message from foo via hiera databindings or class param default: $message": }
notify { "A message from foo via hiera databindings or class param default: $message": }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment