Ask Your Question
1

Dependencies with create_resources function

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

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
0

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

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

Stats

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

Seen: 2,203 times

Last updated: Aug 23 '13