blob: ed293d3c5d01f5f79c88c5fba560f059eb667d5b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
class shellprompt {
file { "/etc/profile.d/prompt.sh":
source => "puppet:///modules/shellprompt/prompt",
owner => "root",
group => "root",
mode => 0644,
ensure => present,
}
# Ideally we should not manage this file, see https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=675008
file { "/etc/bash.bashrc":
source => "puppet:///modules/shellprompt/bash.bashrc",
owner => "root",
group => "root",
mode => 0644,
ensure => present,
require => File['/etc/profile.d/prompt.sh'],
}
}
|