diff --git a/manifests/setup.pp b/manifests/setup.pp index 65672d7..b3a3bd1 100644 --- a/manifests/setup.pp +++ b/manifests/setup.pp @@ -96,17 +96,7 @@ rbenv::install { $git_user: group => $git_group, home => $git_home, - } - - # By default, puppet-rbenv sets ~/.profile to load rbenv, which is - # read when bash is invoked as an interactive login shell, but we - # also need ~/.bashrc to load rbenv (which is read by interactive - # but non-login shells). This works, but may not be the best - # solution, please see issue #114 if you have a better solution. - file { "${git_home}/.bashrc": - ensure => link, - target => "${git_home}/.profile", - require => Rbenv::Install[$git_user], + rc => ['.bashrc','.profile'], } rbenv::compile { 'gitlab/ruby':