Last active
December 28, 2015 08:08
-
-
Save jpadams/7468935 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # 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