Forge Home

gitlab_cli

Install and configure python-gitlab cli

9,931 downloads

9,376 latest version

3.8 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.2.1 (latest)
  • 0.1.2
  • 0.1.1
  • 0.1.0
released Dec 1st 2014

Start using this module

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

Add this module to your Puppetfile:

mod 'unibet-gitlab_cli', '0.2.1'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add unibet-gitlab_cli
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install unibet-gitlab_cli --version 0.2.1

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

unibet/gitlab_cli — version 0.2.1 Dec 1st 2014

gitlab_cli puppet module

Overview

This module will install python-gitlab and its dependencies as well as provide the means of configuring it for defined users.

Usage

Single user configuration

class { 'gitlab_cli':
  owner         => 'root',
  base_path     => '/',
  url           => 'https://gitlab.example.com',
  private_token => 'XXXX'
}

Configure python-gitlab for several users

class { 'gitlab_cli':
  owner         => ['user1', 'user2'],
  base_path     => '/home',
  url           => 'https://gitlab.example.com',
  private_token => 'XXXX'
}

Requirements

gitlab_cli depends on stankevich-python and requires (but does not install) pip.