Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
immerda
Puppet Modules
bash
Commits
99a42b8a
Commit
99a42b8a
authored
Jul 17, 2008
by
andreas@immerda.ch
Browse files
extending the bash module to include local .bash_profile files
parent
6f140aad
Changes
2
Hide whitespace changes
Inline
Side-by-side
files/centos
0 → 100644
View file @
99a42b8a
export PS1="`hostname -s`# "
manifests/init.pp
View file @
99a42b8a
...
...
@@ -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}
"
],
}
}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment