Puppet Class: osx::sound::interface_sound_effects

Defined in:
manifests/sound/interface_sound_effects.pp

Overview

Public: Manages interface sound effects

Parameters:

  • enable (Any) (defaults to: true)


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

class osx::sound::interface_sound_effects (
  $enable = true
) {

  $value = $enable ? {
    false   => 0,
    default => 1
  }

  boxen::osx_defaults { 'Manage interface sound effects':
    user   => $::boxen_user,
    key    => 'com.apple.sound.uiaudio.enabled',
    domain => 'com.apple.systemsound',
    value  => $value,
  }
}