summaryrefslogtreecommitdiff
path: root/puppet/modules/site_sshd/files/xterm-title.sh
diff options
context:
space:
mode:
authorMicah Anderson <micah@riseup.net>2013-06-28 12:11:32 -0400
committerMicah Anderson <micah@riseup.net>2013-06-30 12:38:03 -0400
commit3b6f11a60778d5cb3ae265980e4e4870bf065de2 (patch)
tree669aca1a87364d8381304224d1497c6c963ab77e /puppet/modules/site_sshd/files/xterm-title.sh
parente6bd481933bd4104fb7839703c88de971559d3db (diff)
modularize and standardize site_sshd:
. move the setting of the xterm title to site_config::shell . change the xterm file resource to use standard source lines, switch to single quotes, quote mode, and line up parameters . move the mosh pieces into a site_ssh::mosh class and only include it if the right mosh variable is enabled, passing into the class the necessary hiera parameters . lint the site_ssh::mosh resources . change the authorized_keys class to accept the key parameter which is passed in from the main ssh class (but allow for out of scope variable lookup when the tag is passed) Change-Id: Ieec5a3932de9bad1b98633032b28f88e91e46604
Diffstat (limited to 'puppet/modules/site_sshd/files/xterm-title.sh')
-rw-r--r--puppet/modules/site_sshd/files/xterm-title.sh8
1 files changed, 0 insertions, 8 deletions
diff --git a/puppet/modules/site_sshd/files/xterm-title.sh b/puppet/modules/site_sshd/files/xterm-title.sh
deleted file mode 100644
index 3cff0e3a..00000000
--- a/puppet/modules/site_sshd/files/xterm-title.sh
+++ /dev/null
@@ -1,8 +0,0 @@
-# If this is an xterm set the title to user@host:dir
-case "$TERM" in
-xterm*|rxvt*)
- PROMPT_COMMAND='echo -ne "\033]0;${USER}@${HOSTNAME}: ${PWD}\007"'
- ;;
-*)
- ;;
-esac