thank you,
I found both your replies very useful.
On Saturday, March 29, 2014 1:48:26 PM UTC, Vishwa Kumba wrote:
>
> 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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/puppet-users/7dca8eca-f2c4-4b39-89e7-38a5c91883ae%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.