Stop execution if dependency fails
My Puppet Module has the following structure, under manifests I have four files init.pp, prerequisites.pp, install.pp and postinstall.pp.
init.pp calls the files in the following order: include prerequistes.pp include install.pp include postinstall.pp
Now if prerequistes.pp or install.pp fails postinstall.pp shouldn't get executed. If all of this is in the same .pp file we can use this operator "-> " to tie them together. How do we build the dependencies between the classes. Please let me know.
Thanks a lot in advance.