I working on configuring CQ5 on vagrant managed virtual machine. The provisioning is done using puppet. I have query regards to the order of execution of classes/resources in puppet manifest file.
Please find below manifest file cqsite.pp
include java
include apache
cq::instance {myauthor:
installation_type => author,
}
cq::instance {mypublish:
installation_type => publish,
}
During provision puppet is initially picking cq resources (cq::instance ) rather than java. But java must be installed first to execute few commands in cq::instance.pp file. So its throwing an error. Please help me in finding solution for this