Created
July 28, 2016 17:28
-
-
Save DavidS/e51acada7b076a6eb3e0de890cbab811 to your computer and use it in GitHub Desktop.
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
# $resources = hiera_hash('resources') | |
$resources = { | |
'postgresql::database' => { | |
'db1' => { db1 params }, | |
}, | |
# ... | |
} | |
create_create_resources($resources) | |
# equal to | |
$resources.each |k,v| { | |
create_resources(k, v) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment