Ask Your Question

Dependencies with create_resources function

asked 2013-08-22 14:20:43 -0600

louis gravatar image

Is it possible to set dependencies between a specific resource like File, Exec, Package to run before or after after a create_resources function.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2013-08-23 11:04:34 -0600

lavaman gravatar image

Functions don't work that way. You can set relationships with the resources created by create_resources. The master runs that function to generate puppet code to include in the catalog. It doesn't make sense to try to order functions, only the resources that get generated.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2013-08-22 14:20:43 -0600

Seen: 2,539 times

Last updated: Aug 23 '13