Skip to content
This repository has been archived by the owner on Oct 16, 2024. It is now read-only.

Latest commit

 

History

History
59 lines (36 loc) · 1.64 KB

README.md

File metadata and controls

59 lines (36 loc) · 1.64 KB

puppetcrl_sync

Table of Contents

  1. Overview - What is the puppetcrl_sync module?
  2. Module Description - What does the module do?
  3. Setup
  4. Usage
  5. Limitations - OS compatibility, etc.
  6. Development - Guide for contributing to the module
  7. Contributors - Those with commits

Overview

The puppet CA CRL is not synchronised between hosts. This module handles distributing the CRL on each puppet run.

Module Description

The module basically consists of a generic function which returns the contents of any arbitary file, and a file resource which uses this function to get the CRL from the puppet master and populate a file on a host.

Setup

Dependencies for the module are :

Usage

Do not declare this class on your puppet master, it just gets declared on the host you want the CRL to be copied to.

In a standard puppet environment where you just want to copy the CRL to the standard puppet location :

include ::puppetcrl_sync

All the parameters are configurable, so to customise you'd do something like :

class { '::puppetcrl_sync':
    crl_location => '/tmp/testing'
    crl_target   => '/home/matt'
    crl_owner    => 'matt'
    crl_group    => 'matt'
    crl_mode     => '0755'
}

Limitations

This module has been developed and tested against :

Ubuntu 14.04

Development

Fork, hack, test, then raise a PR

Contributors

The github contributor graph.