How to run a command in spite of failed dependencies
I need to execute something in spite of failed dependencies in my manifests, how do I do this. Thanks as always.
The only way you can do that is by removing any dependencies between the resources, e.g. attributes or chaining arrows.
However, the better question is: why do you want to do this, and under what circumstances? If resource A truly requires resource B, then how can you apply resource A if resource B fails? If it doesn't matter, then there's no dependency between those resources.
what Greg said . .. but just to add to it - the puppet DSL isn't about running a set of commands per se but about defining the end state you want to achieve - so from that point of view you need to specify dependencies (or none - as it appears in this case)
Asked: 2015-07-29 15:26:15 -0500
Seen: 129 times
Last updated: Jul 30 '15