aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2014-03-23 17:15:13 -0300
committerSilvio Rhatto <rhatto@riseup.net>2014-03-23 17:15:13 -0300
commit4e8c8155f79e5054dbd694673f93437b62fba990 (patch)
tree8e3f7dabc505d429ddaadb057b1bba484a51a12b
parente44678bd578d7fec6465ecef29a449bcc44b2af0 (diff)
downloadpuppet-nodo-4e8c8155f79e5054dbd694673f93437b62fba990.tar.gz
puppet-nodo-4e8c8155f79e5054dbd694673f93437b62fba990.tar.bz2
Managing rxvt-256color terminfo on squeeze
-rw-r--r--files/terminfo/rxvt-256colorbin0 -> 2278 bytes
-rw-r--r--manifests/subsystem/profile.pp15
2 files changed, 15 insertions, 0 deletions
diff --git a/files/terminfo/rxvt-256color b/files/terminfo/rxvt-256color
new file mode 100644
index 0000000..c50b2f8
--- /dev/null
+++ b/files/terminfo/rxvt-256color
Binary files differ
diff --git a/manifests/subsystem/profile.pp b/manifests/subsystem/profile.pp
index 33ddc6a..802860f 100644
--- a/manifests/subsystem/profile.pp
+++ b/manifests/subsystem/profile.pp
@@ -35,4 +35,19 @@ class nodo::subsystem::profile {
file { "/etc/profile.d/prompt.sh":
ensure => absent,
}
+
+ # 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
+ # https://stackoverflow.com/questions/12345675/screen-cannot-find-terminfo-entry-for-xterm-256color
+ file { '/lib/terminfo/r/rxvt-256color':
+ source => "puppet:///modules/nodo/terminfo/rxvt-256color",
+ owner => root,
+ group => root,
+ mode => 0644,
+ ensure => ${::lsbdistcodename} ? {
+ 'squeeze' => present,
+ default => absent,
+ },
+ }
}