Forge Home

cockpit

Module for installing and managing Cockpit (http://cockpit-project.org/)

7,282 downloads

7,282 latest version

4.3 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)
released Nov 29th 2016
This version is compatible with:
  • Puppet Enterprise >= 3.3.0
  • Puppet >= 3.0.0 < 5.0.0
  • , , , ,

Start using this module

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

Add this module to your Puppetfile:

mod 'petems-cockpit', '1.0.0'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add petems-cockpit
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install petems-cockpit --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
Tags: cockpit

Documentation

petems/cockpit — version 1.0.0 Nov 29th 2016

Cockpit Puppet Module

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 cockpit
  4. Usage - Configuration options and additional functionality
  5. Limitations - OS compatibility, etc.
  6. Development - Guide for contributing to the module

Overview

Puppet module for installing, configuring, and managing Cockpit, a free and open source web interface fronten for server management.

Module Description

This module manages the installation of Cockpit.

If you'd prefer, you can also disable the repo after the agent's been installed, or opt out of repo management altogether.

Setup

What cockpit affects

By default, this module will:

  • Set up the package repository
  • Install the Cockpit package
  • Configure the /etc/cockpit/cockpit.conf file
  • Set up and enable the Cockpit service.

Beginning with cockpit

Most of cockpit's setup is handled by the package itself.

Configuration is mainly configured in /etc/cockpit/cockpit.conf but there's also changes in the invidual systemd files for things like listening port, such as /etc/systemd/system/cockpit.socket.d/listen.conf.

On RHEL, Cockpit exists in most upstream repos by default, but you can also get preview releases also (See https://copr.fedorainfracloud.org/coprs/g/cockpit/cockpit-preview/)

On other Operating Systems, repositories are maintained seperately:

Full docs are avaliable here: http://cockpit-project.org/guide/latest/

Usage

This module includes a single class:

include '::cockpit'

You'll more than likely want to provide the appropriate values for your setup.

To opt out of repo management altogether, you'd specify it like so:

class { '::cockpit':
  manage_repo => false,
}

To change the port that Cockpit runs on (the default is 9090)

class { '::cockpit':
  port => '443',
}

Limitations

  • Arch support is currently not implemented.
  • Changing the port that Cockpit runs on seems with path parameter to be broken in older versions. On Fedora's avaliable base package cockpit-0.67-2.fc22.x86_64 the service refuses to start. The latest version of the package works (cockpit-0.106-1.fc22.x86_64). You can use this package by enabling preview repos; yum_preview_repo => true.

Development

If you'd like to other features or anything else, check out the contributing guidelines in CONTRIBUTING.md.