chef 0.9.0.a92 → 0.9.0.b01

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of chef might be problematic. Click here for more details.

@@ -186,7 +186,10 @@ class Chef
186
186
 
187
187
  def screen
188
188
  tf = Tempfile.new("knife-ssh-screen")
189
- tf.puts("caption always '%w'")
189
+ if File.exist? "#{ENV["HOME"]}/.screenrc"
190
+ tf.puts("source #{ENV["HOME"]}/.screenrc")
191
+ end
192
+ tf.puts("caption always '%-Lw%{= BW}%50>%n%f* %t%{-}%+Lw%<'")
190
193
  tf.puts("hardstatus alwayslastline 'knife ssh #{@name_args[0]}'")
191
194
  window = 0
192
195
  session.servers_for.each do |server|
@@ -56,7 +56,7 @@ class Chef
56
56
  end
57
57
  status = popen4(ps_cmd) do |pid, stdin, stdout, stderr|
58
58
  r = Regexp.new(@new_resource.pattern)
59
- Chef::Log.debug "#{@new_resource}: attempting to match '#{@new_resource.pattern}' (#{r}) against process list"
59
+ Chef::Log.debug "#{@new_resource}: attempting to match '#{@new_resource.pattern}' (#{r.inspect}) against process list"
60
60
  stdout.each_line do |line|
61
61
  if r.match(line)
62
62
  @current_resource.running true
@@ -16,5 +16,5 @@
16
16
  # limitations under the License.
17
17
 
18
18
  class Chef
19
- VERSION = '0.9.0.a92'
19
+ VERSION = '0.9.0.b01'
20
20
  end
metadata CHANGED
@@ -6,8 +6,8 @@ version: !ruby/object:Gem::Version
6
6
  - 0
7
7
  - 9
8
8
  - 0
9
- - a92
10
- version: 0.9.0.a92
9
+ - b01
10
+ version: 0.9.0.b01
11
11
  platform: ruby
12
12
  authors:
13
13
  - Adam Jacob