Puppet Class: osx::sound::volume_change_feedback

Defined in:
manifests/sound/volume_change_feedback.pp

Overview

Public: Manages volume change feedback

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/volume_change_feedback.pp', line 2

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

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

  osx_default { 'Enable feedback on volume change':
    domain => 'NSGlobalDomain',
    key    => 'com.apple.sound.beep.feedback',
    value  => $value,
    type   => 'integer'
  }
}