summaryrefslogtreecommitdiff
path: root/lib/chef/shell.rb
diff options
context:
space:
mode:
authorTim Smith <tsmith84@gmail.com>2020-02-05 17:19:29 -0800
committerTim Smith <tsmith84@gmail.com>2020-02-05 17:19:29 -0800
commit85b1c5bcd4e5724b3e12591686c8cd9c12755077 (patch)
tree2e9ce3a3ab896ce359575722fff299882df2549e /lib/chef/shell.rb
parent503798696bcf55d6171e6b86d8e169f3038271a3 (diff)
downloadchef-85b1c5bcd4e5724b3e12591686c8cd9c12755077.tar.gz
Rework the welcome text to be more helpful
Get rid of the old Ohai meme reference Link to the specific doc on how to use the shell Give the version of chef-shell and don't mention Chef Infra Client Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'lib/chef/shell.rb')
-rw-r--r--lib/chef/shell.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/chef/shell.rb b/lib/chef/shell.rb
index 17e1d782c3..d22400176c 100644
--- a/lib/chef/shell.rb
+++ b/lib/chef/shell.rb
@@ -166,11 +166,10 @@ module Shell
puts "run `help' for help, `exit' or ^D to quit."
puts
- puts "Ohai2u#{greeting}!"
end
def self.greeting
- " #{Etc.getlogin}@#{Shell.session.node["fqdn"]}"
+ "#{Etc.getlogin}@#{Shell.session.node["fqdn"]}"
rescue NameError, ArgumentError
""
end