I have a basic setup where I have an Exec that is in a class. The Exec has an onlyif that checks for the existence of a file. Despite me indicating that the Class requires that File, the onlyif check is executed before the File.
Basic example https://gist.github.com/b1e1741d686881f115c4 It works if I run apply twice (file gets created first time but exec doesn't execute, exec gets run the second time) (I get the same behavior if I manually set up the File -> Exec relationship too, so I don't think its related to the Class) -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/osNqluVlG3YJ. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.