Forge Home

acli

Manages ACLI and related jobs

9,969 downloads

9,450 latest version

4.6 quality score

We run a couple of automated
scans to help you access a
module's quality. Each module is
given a score based on how well
the author has formatted their
code and documentation and
modules are also checked for
malware using VirusTotal.

Please note, the information below
is for guidance only and neither of
these methods should be considered
an endorsement by Puppet.

Version information

  • 0.1.0 (latest)
  • 0.0.1
released Jan 4th 2015
This version is compatible with:
  • , ,

Start using this module

  • r10k or Code Manager
  • Bolt
  • Manual installation
  • Direct download

Add this module to your Puppetfile:

mod 'evenup-acli', '0.1.0'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add evenup-acli
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install evenup-acli --version 0.1.0

Direct download is not typically how you would use a Puppet module to manage your infrastructure, but you may want to download the module in order to inspect the code.

Download
Tags: jira, acli

Documentation

evenup/acli — version 0.1.0 Jan 4th 2015

Puppet Forge Build Status

Table of Contents

  1. Overview
  2. Module Description - What the module does and why it is useful
  3. Setup - The basics of getting started with acli
  4. Usage - Configuration options and additional functionality
  5. Reference - An under-the-hood peek at what the module is doing and how
  6. Limitations - OS compatibility, etc.
  7. Development - Guide for contributing to the module
  8. Changelog/Contributors

Overview

A Puppet module that installs the Atlassian CLI tools from Bob Swift and Appfire.

Module Description

A Puppet module that installs the Atlassian CLI tools from Bob Swift and Appfire and defines to schedule recurring tasks (via cron).

Please note a license to use the ACLI software is required! See https://bobswift.atlassian.net/wiki/display/ACLI/Atlassian+CLI+license for details.

Setup

What acli affects

  • ACLI package
  • ACLI cron jobs

Beginning with acli

Installation of the acli module:

  puppet module install evenup-puppet

Usage

Installation:

    class { 'acli':
      user        => 'acli',
      password    => 'something secret',
      jira_server => 'https://jira.example.com',
    }

To create a quarterly Jira restore test task

    acli::jira { 'quarterly_restore_testing':
      project     => 'OPS',
      summary     => 'Quarterly Prouction Restore Test',
      assignee    => 'jlambert',
      description => 'Test restoring production database backups',
      month       => [1,4,7,10],
    }

Reference

Public methods

Class: acli

Main class for installing Atlassian CLI by Bob Swift.

#####user String. Username ACLI jobs should use to connect

#####password String. Password ACLI jobs should use to connect

#####bamboo_server String. Base URL for your Atlassian Bamboo server.

Default: ''

#####confluence_server String. Base URL for your Atlassian Confluence server.

Default: ''

#####crucible_server String. Base URL for your Atlassian Crucible server.

Default: ''

#####fisheye_server String. Base URL for your Atlassian Fisheye server.

Default: ''

#####jira_server String. Base URL for your Atlassian Jira server.

Default: ''

#####stash_server String. Base URL for your Atlassian Stash server.

Default: ''

#####source String. Source path to download ACLI

Default: 'https://bobswift.atlassian.net/wiki/download/attachments/16285777'

#####version String. Version of ACLI to install. This will also be used to generate the actual filename to download from $source.

Default: '3.9.0'

Define: acli::jira

Manages cron jobs to create Jira issues.

#####project String. Project to create the issue in.

#####summary String. Summary of the issue.

#####assignee String. Assignee of the issue. Default: ''

#####description String. Description of the issue.

Default: ''

#####labels String. Labels of the issue. (comma seperated labels)

Default: ''

#####parent String. Parent issue of this issue.

Default: ''

#####type String. Type of issue.

Default: task

#####monthday String. Day of the month the issue should be created.

Default: 1

#####month String. Month the issue should be created.

Default: 1

#####hour String. Hour of the day the issue should be created.

Default: 0

#####minute String. Minute of the day the issue should be created.

Default: 1

#####weekday String. Day of the week the issue should be created

Default: *

#####ensure String. Should the job be present?

Default: present

Private classes

  • acli::config: Configures ACLI settings
  • acli::install: Installs ACLI

Limitations

Development

Improvements and bug fixes are greatly appreciated. See the contributing guide for information on adding and validating tests for PRs.

Changelog / Contributors

Changelog

Contributors