Re: [Puppet Users] Ordering between 2 create_resources in Puppet Manifests

2014-03-29 Thread Denmat
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,

[Puppet Users] Ordering between 2 create_resources in Puppet Manifests

2014-03-29 Thread Vishwa Kumba
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