Puppet Class: updates

Defined in:
manifests/init.pp

Summary

Enable automatic upgrades for the system

Overview

Parameters:

  • bootdelay (String) (defaults to: '1min')

    sets how long to wait before first run

  • frequency (String) (defaults to: '86400')

    sets how often to run updates



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

class updates (
  String $bootdelay = '1min',
  String $frequency = '86400'
) {
  case $facts['os']['name'] {
    'Archlinux': { include updates::archlinux }
    'Arch': { include updates::archlinux }
    'Ubuntu': { include updates::ubuntu }
    default: { fail("Module does not support ${facts['os']['name']}") }
  }
}