Coder Social home page Coder Social logo

petems / petems-cockpit Goto Github PK

View Code? Open in Web Editor NEW
3.0 3.0 4.0 74 KB

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

License: Apache License 2.0

Ruby 66.23% Puppet 33.27% HTML 0.51%
cockpit puppet petems puppet-module

petems-cockpit's Introduction

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.

petems-cockpit's People

Contributors

petems avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

petems-cockpit's Issues

Cert features ?

Hello Petems,
Good job, we use this module and i think it should be nice to add a param to change cert used, as Puppet agent's cert ?
I'll done with a "remotectl certificate /etc/puppetlabs/puppet/ssl/certs/mycert.pem /etc/puppetlabs/puppet/ssl/private_keys/mycert.pem" (with a service reload).
-> This cert provided by Puppet CA is more easily agreed by nodern browsers.
I let you think about this.
Romain.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.