Forge Home

concourse

Install and configure Concourse CI (https://concourse-ci.org).

5,991 downloads

4,342 latest version

5.0 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.

Support the Puppet Community by contributing to this module

You are welcome to contribute to this module by suggesting new features, currency updates, or fixes. Every contribution is valuable to help ensure that the module remains compatible with the latest Puppet versions and continues to meet community needs. Complete the following steps:

  1. Review the module’s contribution guidelines and any licenses. Ensure that your planned contribution aligns with the author’s standards and any legal requirements.
  2. Fork the repository on GitHub, make changes on a branch of your fork, and submit a pull request. The pull request must clearly document your proposed change.

For questions about updating the module, contact the module’s author.

Version information

  • 1.0.0 (latest)
  • 0.2.0
  • 0.1.0
released May 10th 2019
This version is compatible with:
  • Puppet Enterprise 2018.1.x, 2017.3.x, 2017.2.x, 2017.1.x, 2016.5.x, 2016.4.x
  • Puppet >= 4.7.0 < 6.0.0
  • , , ,

Start using this module

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

Add this module to your Puppetfile:

mod 'walkamongus-concourse', '1.0.0'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add walkamongus-concourse
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install walkamongus-concourse --version 1.0.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

Documentation

walkamongus/concourse — version 1.0.0 May 10th 2019

Build Status

concourse

Table of Contents

  1. Description
  2. Setup - The basics of getting started with concourse
  3. Usage - Configuration options and additional functionality
  4. Limitations - OS compatibility, etc.

Description

This module installs and configures the Concourse CI server and fly CLI (https://concourse-ci.org).

Setup

What concourse affects

This module will download and install Concourse and the fly cli. It will also create Concourse work directories and optionally generate and authorize needed SSH keypairs.

WARNING: Concourse requires Linux kernel 3.19+. On Redhat 7, this module will install the ELRepo.org yum repository and upgrade the kernel to the current LTS version. A reboot will likely be necessary once this is done before Concourse beings functioning correctly.

Setup Requirements

This module will not install a database for Concourse. You should pair this module with something like puppetlabs/postgresql to install and configure the database.

You should be familiar with Concourse before configuring it via this module. There are many configuration environment variables that may be set and some are specific to the node being run (web or worker). The best documentation of these variables is via the cli:

  $ concourse --help
  $ concourse web --help
  $ concourse worker --help

Beginning with concourse

Including the class will install and configure a standalone Concourse server (web and worker) with a default "quickstart" configuration.

  include concourse

Usage

Example: Install Postgresql 9.6 (via puppetlabs/postgresql) and a standalone Concourse server, with web and a worker running on the same machine:

  class { '::postgresql::globals': version => '9.6' }

  class { '::postgresql::server': }

  postgresql::server::db { 'concourse':
    user     => 'concourse',
    password => postgresql_password('concourse', 'changeme'),
  }

  class { '::concourse':
    node_type    => 'standalone',
    version      => '4.2.1',
    environment  => {
      'CONCOURSE_EXTERNAL_URL'                 => "http://${facts['fqdn']}:8080",
      'CONCOURSE_WORK_DIR'                     => '/opt/concourse/worker',
      'CONCOURSE_SESSION_SIGNING_KEY'          => '/opt/concourse/session_signing_key',
      'CONCOURSE_TSA_HOST_KEY'                 => '/opt/concourse/tsa_host_key',
      'CONCOURSE_TSA_PUBLIC_KEY'               => '/opt/concourse/tsa_host_key.pub',
      'CONCOURSE_TSA_WORKER_PRIVATE_KEY'       => '/opt/concourse/worker_key',
      'CONCOURSE_TSA_AUTHORIZED_KEYS'          => '/opt/concourse/authorized_worker_keys',
      'CONCOURSE_POSTGRES_USER'                => 'concourse',
      'CONCOURSE_POSTGRES_PASSWORD'            => 'changeme',
      'CONCOURSE_POSTGRES_DATABASE'            => 'concourse',
      'CONCOURSE_ADD_LOCAL_USER                => 'myuser:mypass',
      'CONCOURSE_MAIN_TEAM_LOCAL_USER'         => 'myuser',
    },
    require      => Postgresql::Server::Db['concourse'],
  }

Limitations

TBD.