<img height="1" width="1" style="display: none" src="https://www.facebook.com/tr?id=976470819114134&amp;ev=PageView&amp;noscript=1">

Puppet will speed up your JIRA and Confluence installation

Puppet recently announced its collaboration with HipChat on new integrations which means that we should be seeing more tools available for enterprise teams to extend their DevOps and modern software delivery practices. This news is exciting for the team at GLiNTECH because we have been incorporating Puppet into our Atlassian practices for a while now.

"This new integration makes it possible to direct change using the Puppet Orchestrator, see change as it occurs, and discuss changes in real time as a team, all directly from HipChat. Whether you are updating a fleet of VMs in the cloud or pushing out a new version of a distributed application with Puppet Enterprise, you and your team can do it all from the HipChat room your ops team uses to collaborate around infrastructure." 

Puppetizing Atlassian at GLiNTECH

At GLiNTECH, we install the Atlassian tools (mainly JIRA software, JIRA Core & Confluence) for our clients frequently. We understand that every client’s needs are different but we (at GLiNTECH) focus on simplifying complexity through focusing on similarities during implementation. For example, to speed up and standardise the installation process, we use Puppet and some of the modules on Puppet Forge.


Puppet Enterprise allows us to define the desired state of our servers (one per application) using Puppet manifests and know that the applications and underlying OS will always be in a known state when we need perform upgrades or provide support. It saves us time and saves our client’s money.


If you're new to Puppet and just wanted to try something quick and dirty, you can even just run a puppet manifest locally without using a Puppet Master. Try the following on an Ubuntu box (recommend "ubuntu/trusty64") and see what we mean (try Vagrant if you just want a quick and easy machine to work with):

sudo apt-get update                               
sudo apt-get install -y puppet                    
sudo puppet module install aco/oracle_java        
sudo puppet module install puppetlabs/postgresql  
sudo puppet module install puppet/confluence

Create and save the file confluence.pp with the following content (note that passwords are really insecure - make sure you don't use them in any kind of production system)

class { 'postgresql::server': } ->

postgresql::server::db { 'confluence':
  user     => 'confluence',
  password => postgresql_password('confluence', 'mysuperinsecurepasswd'),
} ->

class { 'oracle_java':
  version => '8u77',
  type    => 'jdk'
} ->

file { [ '/var/atlassian',
        '/opt/atlassian', ]:
  ensure => 'directory',
} ->

class { 'confluence':
  version    => '5.9.6',
  installdir => '/opt/atlassian/confluence',
  homedir    => '/var/atlassian/application-data/confluence',
  javahome   => '/usr/java/default',

Now run:

sudo puppet apply confluence.pp

Puppet will go off and do its thing and shortly you'll be able to access your new Confluence instance on http://<ip>:8090

There's so much more that Puppet can be used for with the Atlassian tools and beyond. If you're interested in finding out more have a chat with our team.


GLiNTECH provide enterprise software services which includes systems integration, value added re-selling and managed services delivery, training and support. We are an Agile company and specialise in associated best of breed practices and software.