Puppet Class: osx::software_update::frequency

Defined in:
manifests/software_update/frequency.pp

Overview

Set frequency in days for software update checks

Parameters:

  • frequency (Any) (defaults to: 1)


2
3
4
5
6
7
8
9
10
11
12
# File 'manifests/software_update/frequency.pp', line 2

class osx::software_update::frequency (
  $frequency = 1
) {
  boxen::osx_defaults { 'Check for updates daily':
    user   => $::boxen_user,
    domain => 'com.apple.SoftwareUpdate',
    key    => 'ScheduleFrequency',
    value  => $frequency,
    type   => 'integer'
  }
}