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