Puppet Class: zsh
- Defined in:
- manifests/init.pp
Overview
12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 |
# File 'manifests/init.pp', line 12
class zsh {
package { [
'zsh',
'zsh-completions'
]: }
file_line { 'add zsh to /etc/shells':
path => '/etc/shells',
line => "${boxen::config::homebrewdir}/bin/zsh",
require => Package['zsh'],
} ->
file { '/etc/zprofile':
ensure => present,
content => ''
} ->
osx_chsh { $::luser:
shell => "${boxen::config::homebrewdir}/bin/zsh",
}
}
|