Puppet Class: osx::dock::pin_position

Defined in:
manifests/dock/pin_position.pp

Overview

Public: Sets the icons’s size Can be ‘start’, ‘middle’, or ‘end’ System Default: ‘middle’

Parameters:

  • position (Any) (defaults to: 'start')


4
5
6
7
8
9
10
11
12
13
14
15
# File 'manifests/dock/pin_position.pp', line 4

class osx::dock::pin_position($position = 'start') {
  include osx::dock

  boxen::osx_defaults { 'pin position':
    domain => 'com.apple.dock',
    key    => 'pinning',
    type   => 'string',
    value  => $position,
    user   => $::boxen_user,
    notify => Exec['killall Dock'];
  }
}