Last active
August 29, 2015 14:23
-
-
Save WhatsARanjit/d6825224fb55e91e014c to your computer and use it in GitHub Desktop.
Hiera_hash into profile
This file contains 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
class profiles::mything ( | |
$foo = hiera_hash('blah'), | |
) { | |
class { 'foo': | |
foo => $foo, | |
} | |
} |
This file contains 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
--- | |
blah: | |
foo: bar | |
bar: baz |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Would that be the same end result as...