Vishwa Kumba
2014-Mar-29 13:48 UTC
[Puppet Users] Ordering between 2 create_resources in Puppet Manifests
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_sources statements? I need my webapps to be deployed after the required packages have been installed. I have seen a syntax like this below. Here class['apache'] seems to be execued before the create_resources here. include apache Class['apache'] -> Webapps::Deploy_files <| |> create_resources('webapps::deploy_files', $apps) Is there any puppet documentation on this strange syntax <| |>? Using this syntax, is it possible to call create_resources before and after a class declaration? -Vishwa -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscribe@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/2e1fb72d-02e3-4c1d-a552-23090ad6be06%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.