diff --git a/puppet/files/treeherder/.bash_aliases b/puppet/files/treeherder/.profile similarity index 96% rename from puppet/files/treeherder/.bash_aliases rename to puppet/files/treeherder/.profile index 5dd2081df..87b09764f 100644 --- a/puppet/files/treeherder/.bash_aliases +++ b/puppet/files/treeherder/.profile @@ -1,3 +1,6 @@ +# Source .bashrc, since the default .profile we're replacing did so. +. "$HOME/.bashrc" + function thelp { echo " Treeherder-specific helpful aliases: diff --git a/puppet/manifests/classes/treeherder.pp b/puppet/manifests/classes/treeherder.pp index fcee06eb5..c594b593d 100644 --- a/puppet/manifests/classes/treeherder.pp +++ b/puppet/manifests/classes/treeherder.pp @@ -28,8 +28,9 @@ class treeherder { user => "${APP_USER}", } - file {"${HOME_DIR}/.bash_aliases": - source => "${PROJ_DIR}/puppet/files/treeherder/.bash_aliases", + file {"$HOME_DIR/.profile": + ensure => "link", + target => "${PROJ_DIR}/puppet/files/treeherder/.profile", owner => "${APP_USER}", group => "${APP_GROUP}", }