This is a puppet module to install stash
- Puppet 3.0+ tested
- Puppet 2.7+
- dependency 'mkrakowitzer/deploy', '>= 0.0.1'
class { 'stash':
version => '2.10.1',
installdir => '/opt/atlassian/atlassian-stash',
homedir => '/opt/atlassian/application-data/stash-home',
javahome => '/opt/java',
dburl => 'jdbc:postgresql://stash.example.com:5433/stash',
dbpassword => $stashpass,
}
Schedule a weekly git garbage collect for all repositories.
class { 'stash::gc': }
This module also allows for direct customisation of the JVM, following atlassians recommendations
This is especially useful for setting properties such as http/https proxy settings.
class { 'stash':
version => '2.10.1',
installdir => '/opt/atlassian/atlassian-stash',
homedir => '/opt/atlassian/application-data/stash-home',
javahome => '/opt/java',
dburl => 'jdbc:postgresql://stash.example.com:5433/stash',
dbpassword => $stashpass,
jvm_support_recommended_args => '-Dhttp.proxyHost=proxy.example.com -Dhttp.proxyPort=3128 -Dhttps.proxyHost=secure-proxy.example.com -Dhttps.proxyPort=3128'
}
TODO
Using puppetlabs_spec_helper. Simply run:
bundle install && rake spec
to get results.
ruby-1.9.3-p484/bin/ruby -S rspec spec/classes/stash_install_spec.rb --color
.
Finished in 0.38159 seconds
1 example, 0 failures
The MIT License (MIT)
- Jaco Van Tonder
- Merritt Krakowitzer merritt@krakowitzer.com
- Sebastian Cole
Please log tickets and issues at our Projects site