#First install puppet
sudo su –
apt-get update
apt-get install puppet
#Then install puppet module for installing sonarqube
puppet module uninstall puppetlabs-java
puppet module install maestrodev-sonarqube
#Once module is installed, create a .pp file
nano sonarqube.pp
#Enter the below content inside the file
class { ‘java’: }
class { ‘sonarqube’ :
version => ‘5.1’,
}
#save file and run file using below command
puppet apply –verbose sonarqube.pp
#Run Nexus
firefox hostname:9000