I need to execute the mysql class, tomcat, before executing the code in the mypackage class. On my .pp site I have
node 'node1' { include mysql,mypackage,tomcat }
How to ensure mysql-> tomcat-> mypackage execution order
I tried putting this in /etc/puppet/modules/mypackage/manifests/init.pp, but that didn't work.
class mypackage { include mysql include tomcat }
source share