Puppet Class: masterless

Defined in:
manifests/init.pp

Overview

Sets up puppet to run masterlessly via a systemd timer

Parameters:

  • repodir (Any) (defaults to: '/opt/halyard/repo')
  • bindir (Any) (defaults to: '/usr/local/bin')
  • bootdelay (Any) (defaults to: '1min')
  • frequency (Any) (defaults to: '3600')


3
4
5
6
7
8
9
10
11
12
13
14
# File 'manifests/init.pp', line 3

class masterless(
    $repodir = '/opt/halyard/repo',
    $bindir = '/usr/local/bin',
    $bootdelay = '1min',
    $frequency = '3600'
) {
    case $::osfamily {
        'Darwin': { include masterless::darwin }
        'Archlinux': { include masterless::systemd }
        default: { fail("Module does not support ${::osfamily}") }
    }
}