From 49b61b18ba28a40fc4139acf717deea952061818 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Mon, 9 Mar 2015 12:24:33 -0300 Subject: Keep managing /etc/bash.bashrc --- manifests/subsystem/profile.pp | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'manifests/subsystem/profile.pp') 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 -- cgit v1.2.3