Hi,
Yes there is at least one way. I have been using tags to achieve this like so:
$default_a = { tag => 'do_a' }
$some_hasha = hiera('a')
$default_b = { tag => 'do_b' }
$some_hashb = hiera('b')
create_resource(resource_type, $some_hasha, $default_a)
create_resource(resource_type, $some_hashb,
I was wondering if there is a way to define ordering between 2
create_resources in puppet manifests.
For example:
create_resources('php::install', $php_packages) ->
create_resources('webapps::deploy', $apps)
The above does not work, but does puppet support the ordering between 2
create_source