bi_cron

Puppet management for cron
Bounded Infinity

Bounded Infinity

bi

7,772 downloads

7,550 latest version

2.8 quality score

Version information

  • 0.0.4 (latest)
  • 0.0.3
released Jul 3rd 2019
This version is compatible with:
  • Debian
    ,
    RedHat

Start using this module

Documentation

bi/bi_cron — version 0.0.4 Jul 3rd 2019

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 coreutils
  4. Usage - Configuration options and additional functionality
  5. Reference - An under-the-hood peek at what the module is doing and how
  6. Limitations - OS compatibility, etc.
  7. Development - Guide for contributing to the module

Overview

This modules has to main purposes:

  • Manage the static data associated with the cron package
  • Provide a wrapper around binaries in the cron package that are useful inside Puppet configuration

Module Description

The static data associated with the binaries contained in the cron package are stored in a puppet module data Hiera store. This allows higer level Hiera lookups to override binary paths, configuration files, etc...

Setup

puppet module install bi-bi_cron -i /path/to/moudles

Usage

Consistent static data

To use the statc data (for instance in another class or define):


define my_define() {
    require bi_cron
    ...
    notify("The cron package name is $bi_cron::package_name")
}

This allows an end user a consistent location to obtain the binary paths of executables that will be updated via the module data for each platform (or overridden for custom binaries).

Executable wrappers

The binary wrapper for useful programs contained in cron for example:


define my_define() {
    bi_cron::interval { 'test-cron-job':
        interval => 'daily',
        content => 'echo "Installed!"',
    }
}

Reference

For more information see the projects wiki.

Limitations

Development

For more information see the projects wiki.