I am trying to get puppet going for a couple of VMs, my intention is to install jdk6 and tomcat 6 using puppet but i cannot use yum as the machines are not connected to the internet, if it was a simple one machine solution then i could just use the manual installs but i need to automate this and need to build and destroy VMs with the same config.

I ended up using someone's script for jdk, it is a very dirty module and it contains all the RPMs from the bin file from oracle. I put them in the files folder on the module and copy them over from puppet master. Then run the packages individually. the problem is that puppet runs them in no specific order. So i have to wait until 6-7 times when this is attempted to get the packages installed but then last exec command doesnt get executed.

I need to figure out a better way of doing it. A Local or network yum repository is not an option so i need to use the RPM in the same way but i cannot figure out the chaining of packages, i tried using chaining and then nothing gets installed.

Any guidance will be great as i need to write this for tomcat and servicemix