Puppet Class: osx::global::natural_mouse_scrolling
- Defined in:
 - manifests/global/natural_mouse_scrolling.pp
 
Overview
Public: Modify ‘natural’ mouse scrolling (enable or disable). Requires re-login.
        3 4 5 6 7 8 9 10 11 12  | 
      
        # File 'manifests/global/natural_mouse_scrolling.pp', line 3
class osx::global::natural_mouse_scrolling($enabled = true) {
  boxen::osx_defaults { 'Disable natural mouse scrolling':
    ensure => present,
    domain => 'NSGlobalDomain',
    key    => 'com.apple.swipescrolldirection',
    type   => 'boolean',
    value  => $enabled,
    user   => $::boxen_user;
  }
}
       |