Puppet Class: boxen::profile
- Defined in:
- manifests/profile.pp
Overview
3 4 5 6 7 8 9 10 11 12 13 14 15 |
# File 'manifests/profile.pp', line 3
class boxen::profile {
require boxen::config
$profile = "/Users/${::boxen_user}/.profile"
# This is modeled as an exec instead of a file so people can have
# classes with a .profile file in 'em.
exec { 'create a minimal profile':
command => "echo 'source ${boxen::config::home}/env.sh' > ${profile}",
creates => $profile
}
}
|