Puppet Class: iterm
- Defined in:
- manifests/init.pp
Overview
Class: iterm
Install and configure iterm
Parameters
- prefs_path
-
Path to use as the autoload path for iTerm preferences
[View source]
10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 |
# File 'manifests/init.pp', line 10
class iterm (
$prefs_path = "/Users/${::boxen_user}/Dropbox/iterm"
) {
package { 'iterm2-nightly-halyard':
provider => 'brewcask',
require => Homebrew::Tap['halyard/casks']
} ->
boxen::osx_defaults { 'Enable iterm preference loading':
user => $::boxen_user,
domain => 'com.googlecode.iterm2',
key => 'LoadPrefsFromCustomFolder',
value => 1,
type => 'integer',
} ->
boxen::osx_defaults { 'Set iterm preference path':
user => $::boxen_user,
domain => 'com.googlecode.iterm2',
key => 'PrefsCustomFolder',
value => $prefs_path,
type => 'string'
}
}
|