Giter Site home page Giter Site logo

puppet-confluence's Introduction

puppet-confluence

Build Status

This is a puppet module to install Atlassian Confluence

Requirements

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

Example

  class { 'confluence':
    javahome       => '/opt/java',
  }

Customization

This module also allows for direct customization of the JVM, following atlassians recommendations

This is especially useful for setting properties such as http/https proxy settings. Support has also been added for reverse proxying stash via apache or nginx.

  class { 'confluence':
    version        => '5.5.5',
    installdir     => '/opt/atlassian/atlassian-confluence',
    homedir        => '/opt/atlassian/application-data/confluence-home',
    javahome       => '/opt/java',
    jvm_support_recommended_args => '-Dhttp.proxyHost=proxy.example.com -Dhttp.proxyPort=3128 -Dhttps.proxyHost=secure-proxy.example.com -Dhttps.proxyPort=3128'
    proxy          => {
      scheme       => 'https',
      proxyName    => 'confluence.example.co.za',
      proxyPort    => '443',
    },
  }

A complete example of running confluence with puppet is available at vagrant-puppet-confluence

Paramaters

####javahome Specify the java home directory. No assumptions are made re the location of java and therefor this option is required. Default: undef ####jvm_xms The initial memory allocation pool for a Java Virtual Machine. Default: '256m' ####jvm_xmx Maximum memory allocation pool for a Java Virtual Machine. Default: '1024m' ####jvm_permgen Increase max permgen size for a Java Virtual Machine. Default: '256m' ####java_opts Additional java options can be specified here. Default: '' ####version The version of confluence to install. Default: '5.5.6' ####format The format of the file confluence will be installed from. Default: 'tar.gz' ####installdir The installation directory of the confluence binaries. Default: '/opt/confluence' ####homedir The home directory of confluence. Configuration files are stored here. Default: '/home/confluence' ####user The user that confluence should run as, as well as the ownership of confluence related files. Default: 'confluence' ####group The group that confluence files should be owned by. Default: 'confluence' ####uid Specify a uid of the stash user. Default: undef ####gid Specify a gid of the stash user. Default: undef ####downloadURL Default: 'http://www.atlassian.com/software/confluence/downloads/binary/' ####manage_service Should puppet manage this service? Default: true ####proxy Reverse https proxy configuration. See customization section for more detail. Default: {}

Testing

Using puppetlabs_spec_helper. Simply run:

bundle install && bundle exec 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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.