Skip to content

Capgemini/puppet-stash

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

puppet-stash

This is a puppet module to install stash

Requirements

  • Puppet 3.0+ tested
  • Puppet 2.7+
  • dependency 'mkrakowitzer/deploy', '>= 0.0.1'

Example

  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': }

Customisation

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'
  }

Paramaters

TODO

Testing

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

License

The MIT License (MIT)

Contributors

Support

Please log tickets and issues at our Projects site

About

A puppet module to install atlassian stash

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Puppet 72.1%
  • Ruby 27.9%