Puppet Class: osx::global::time_machine_prompts

Defined in:
manifests/global/time_machine_prompts.pp

Overview

Disable time machine prompts for new drives

Parameters:

  • enable (Any) (defaults to: false)


2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# File 'manifests/global/time_machine_prompts.pp', line 2

class osx::global::time_machine_prompts(
  $enable = false
) {
  $value = $enable ? {
    true => false,
    default  => true
  }

  boxen::osx_defaults { 'Configure Time Machine prompts for new drives':
    user   => $::boxen_user,
    domain => 'com.apple.TimeMachine',
    key    => 'DoNotOfferNewDisksForBackup',
    value  => $value,
    type   => 'boolean'
  }
}