Puppet Class: osx::screensaver::start_delay

Defined in:
manifests/screensaver/start_delay.pp

Overview

Set start delay in seconds for screensaver

Parameters:

  • delay (Any) (defaults to: 300)


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

class osx::screensaver::start_delay(
  $delay = 300
) {
  boxen::osx_defaults { 'Change screensaver start time':
    host   => 'currentHost',
    user   => $::boxen_user,
    domain => 'com.apple.screensaver',
    key    => 'idleTime',
    value  => $delay,
    type   => 'integer'
  }
}