Puppet Class: osx::screensaver::set

Defined in:
manifests/screensaver/set.pp

Overview

Set path and name for screensaver

Parameters:

  • screensaver (Any) (defaults to: undef)
  • path (Any) (defaults to: undef)


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

class osx::screensaver::set (
  $screensaver = undef,
  $path        = undef
) {
  osx_default { 'Set screensaver':
    host   => 'currentHost',
    domain => 'com.apple.screensaver',
    key    => 'moduleDict',
    value  => [
        ['moduleName', 'string', $screensaver],
        ['path', 'string', $path],
        ['type', 'integer', 0]
    ],
    type   => 'dict',
  }
}