Commit 99a42b8a authored by andreas@immerda.ch's avatar andreas@immerda.ch

extending the bash module to include local .bash_profile files

parent 6f140aad
export PS1="`hostname -s`# "
......@@ -33,7 +33,7 @@ class bash::centos inherits bash::base {
package{'bash-completion':
ensure => present,
}
bash::deploy_profile{bash_profile_root: source => 'centos' }
}
class bash::openbsd inherits bash::base {
......@@ -68,6 +68,11 @@ define bash::deploy_profile(
owner => $uid,
group => $gid,
mode => 600,
source => "puppet://$server/bash/${source}",
source => [
"puppet://$server/files/bash/${fqdn}/${source}",
"puppet://$server/files/bash/${source}",
"puppet://$server/bash/module/${source}",
"puppet://$server/bash/${source}"
],
}
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment