Puppet module for managing Atlassian Stash on Debian and Ubuntu.
Note: Stash will not work on Debian Squeeze, as the git version is not high enough. You need to use Debian testing or unstable or a recent version of Ubuntu.
Clone this repository in /etc/puppet/modules, but make sure you clone it as directory 'stash':
cd /etc/puppet/modules
git clone https://github.com/jurgenlust/puppet-stash.git stash
You also need the puppet-tomcat module:
cd /etc/puppet/modules
git clone https://github.com/jurgenlust/puppet-tomcat.git tomcat
And the java7 module:
cd /etc/puppet/modules
git clone git://github.com/jurgenlust/puppet-java7.git java7
To run the example Vagrant machine, you also need the puppet-postgres module:
cd /etc/puppet/modules
git clone https://github.com/jurgenlust/puppet-postgres.git postgres
The manifest in the tests directory shows how you can install Stash. For convenience, a Vagrantfile was also added, which starts an Ubuntu 12.04 x64 VM and applies the init.pp. When the virtual machine is ready, you should be able to access stash at http://localhost:8480/.
Note that the vagrant VM will only be provisioned correctly if the stash, tomcat, java7 and postgres modules are in the same parent directory.