Conrol class order of execution

17 views
Skip to first unread message

Harish Kothuri

unread,
Jun 10, 2016, 8:05:29 AM6/10/16
to Puppet Users
Hi,

I have several classes attached to a host and i want to control the execution order the classes.

Ex: i have a class which collect some custom facts and i want to execute this class after completion of all the other classes.

Thanks 

Lowe Schmidt

unread,
Jun 10, 2016, 8:46:18 AM6/10/16
to puppet...@googlegroups.com
You can use the relationships operators described here here https://docs.puppet.com/puppet/latest/reference/lang_relationships.html 


--
Lowe Schmidt | +46 723 867 157

--
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...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/6b476924-b0ba-4d98-8551-41a8ce3b84fc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Harish Kothuri

unread,
Jun 10, 2016, 8:59:27 AM6/10/16
to Puppet Users
Hi,

Thanks for your reply.

I'm looking how to control the execution classes with different manifest files. I'm aware and already controlling the order within the manifests.

Thanks
Message has been deleted

Lowe Schmidt

unread,
Jun 10, 2016, 9:21:55 AM6/10/16
to puppet...@googlegroups.com
You can use the same operators to express dependencies between classes.

--
Lowe Schmidt | +46 723 867 157

On 10 June 2016 at 15:08, Harish Kothuri <harish...@gmail.com> wrote:
Reply all
Reply to author
Forward
0 new messages