Puppet Class: osx::finder::default_path

Defined in:
manifests/finder/default_path.pp

Overview

Parameters:

  • path (Any) (defaults to: "file:///Users/${::boxen_user}")


14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# File 'manifests/finder/default_path.pp', line 14

class osx::finder::default_path(
  $path = "file:///Users/${::boxen_user}"
) {
  boxen::osx_defaults { 'Set Finder default path type':
    user   => $::boxen_user,
    domain => 'com.apple.finder',
    key    => 'NewWindowTarget',
    value  => 'PfLo',
    type   => 'string'
  }

  boxen::osx_defaults { 'Set Finder default path':
    user   => $::boxen_user,
    domain => 'com.apple.finder',
    key    => 'NewWindowTargetPath',
    value  => $path,
    type   => 'string'
  }
}