aboutsummaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2015-03-09 12:24:33 -0300
committerSilvio Rhatto <rhatto@riseup.net>2015-03-09 12:24:33 -0300
commit49b61b18ba28a40fc4139acf717deea952061818 (patch)
tree258867a7844be9353da56e4d6b70b50f9065d2ae /manifests
parent150ad07e99e8450ef22b707ef610559493567a9f (diff)
downloadpuppet-nodo-49b61b18ba28a40fc4139acf717deea952061818.tar.gz
puppet-nodo-49b61b18ba28a40fc4139acf717deea952061818.tar.bz2
Keep managing /etc/bash.bashrc
Diffstat (limited to 'manifests')
-rw-r--r--manifests/subsystem/profile.pp12
1 files changed, 11 insertions, 1 deletions
diff --git a/manifests/subsystem/profile.pp b/manifests/subsystem/profile.pp
index 56190eb..884865b 100644
--- a/manifests/subsystem/profile.pp
+++ b/manifests/subsystem/profile.pp
@@ -6,13 +6,23 @@ class nodo::subsystem::profile {
}
file { "/etc/profile.d/prompt.sh":
- source => "puppet:///modules/nodo/bin/prompt.sh",
+ source => "puppet:///modules/nodo/etc/profile.d/prompt.sh",
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/nodo/etc/bash.bashrc",
+ owner => "root",
+ group => "root",
+ mode => 0644,
+ ensure => present,
+ require => File['/etc/profile.d/prompt.sh'],
+ }
+
# See http://linuxforcynics.com/how-to/using-rxvt-unicode-with-screen
# https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=630976
# https://bbs.archlinux.org/viewtopic.php?id=50647