johnlawerance-crucible

Puppet module to install, configure, and manage Atlassian Crucible / Fisheye


Keywords
atlassian, crucible, fisheye
License
WTFPL
Install
puppet module install johnlawerance-crucible --version 0.4.0

Documentation

crucible

Puppet Forge Build Status

Table of Contents

  1. Description
  2. Setup - The basics of getting started with crucible
  3. Usage - Configuration options and additional functionality
  4. Reference - An under-the-hood peek at what the module is doing and how
  5. Limitations - OS compatibility, etc.
  6. Development - Guide for contributing to the module

Description

This module installs, configures, and manages Atlassian Crucible / Fisheye.

Setup

What crucible affects

  • Atlassian Crucible / Fisheye
  • Java installation

Beginning with crucible

Basic install using default settings.

class { ::crucible }

Usage

All interactions with the crucible module can be performed through the main crucible class.

Minimal installation using default settings:

class { ::crucible }

Install Crucible 3.10.2 and change the install location and service user:

class { ::crucible
  version      => '3.10.2'
  install_dir  => '/usr/local/crucible'
  service_user => 'fisheye'
}

Install Crucible, don't manage the service, and don't install java:

class { ::crucible
  service_manage => false
  install_java   => false
}

Reference

Public Classes

  • crucible: Main class, includes all other classes.

Private Classes

  • crucible::install: Handles the packages.
  • crucible::config: Handles the configuration file.
  • crucible::service: Handles the service.

Module Parameters

version

Which version of Crucible to install (default: 4.0.3)

service_manage

Should puppet manage the init service? (default: true)

service_ensure

State the service should be (default: running, valid options: running, stopped)

service_enable

Should the service be enabled on boot? (default: true)

service_name

Name of the service (default: crucible)

install_java

Should the module install Java? (default: true)

java_home

Should crucible use a specified JAVA_HOME? (default: undef)

java_opts

Which Java VM arguments should be set when running crucible? (default: undef)

install_dir

Where should crucible be installed? (default: '/opt/crucible')

home_dir

Where should the service user's home directory be (default: '/home/${service_user}')

fisheye_inst

Where should crucible's data be stored? (default: '/opt/crucible-data')

service_user

What user should the service run under? (default: crucible)

install_unzip

Should the module install unzip? (default: true)

install_wget

Should the module install wget? (default: true)

download_url

Specify alternate download URL (default: 'https://www.atlassian.com/software/crucible/downloads/binary')

Limitations

OSes Supported:

  • RHEL/CentOS 6, 7
  • Ubuntu 12.04, 14.04, 16.04

Dependencies:

  • puppetlabs-stdlib >= 3.0.0
  • puppetlabs-java >= 1.2.0
  • puppetlabs-apt >= 1.4.0 (Only required for Ubuntu)

This module has only been tested on CentOS6, CentOS7, Ubuntu 12.04, Ubuntu 14.04 and Ubuntu 16.04 using OpenJRE8 on Puppet Enterprise 2015.3

Development

Please feel free to ask (or submit PRs) for feature requests, improvements, etc!