Adding java to an debian based distrubition using puppet
During some experiments I wanted to check if it is possible to install java, using puppet. This turned out to be quite simple. All that was needed where 2 simple scripts. The first shell script simply installs the puppet and a depended puppet module. #!/bin/sh sudo apt-get install puppet sudo puppet module install puppetlabs/apt sudo puppet apply java.puppet The second file (called java.puppet) should be placed in the same directory and will update apt, accept the java license and install java7, and make it the default java version....