CloudyScripts 1.8.38 → 1.8.39

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/Rakefile CHANGED
@@ -12,7 +12,7 @@ require 'rake/testtask'
12
12
 
13
13
  spec = Gem::Specification.new do |s|
14
14
  s.name = 'CloudyScripts'
15
- s.version = '1.8.38'
15
+ s.version = '1.8.39'
16
16
  s.has_rdoc = true
17
17
  s.extra_rdoc_files = ['README.rdoc', 'LICENSE']
18
18
  s.summary = 'Scripts to facilitate programming for infrastructure clouds.'
@@ -138,7 +138,7 @@ class RemoteCommandHandler
138
138
  def create_filesystem(fs_type, volume)
139
139
  e = "mkfs -t #{fs_type} #{volume}"
140
140
  #remote_execute(e, "y") #TODO: quiet mode?
141
- remote_execute(e, nil, false)
141
+ remote_execute(e, "y", false)
142
142
  end
143
143
 
144
144
  def mkdir(path)
@@ -276,7 +276,7 @@ class RemoteCommandHandler
276
276
  # When #raise_exception is set, an exception will be raised instead of
277
277
  # returning false.
278
278
  def remote_execute(exec_string, push_data = nil, raise_exception = false)
279
- exec_string = "echo #{push_data} >tmp.txt; #{exec_string} <tmp.txt; rm -f tmp.txt" unless push_data == nil
279
+ exec_string = "sh -c 'echo #{push_data} >tmp.txt; #{exec_string} <tmp.txt; rm -f tmp.txt'" unless push_data == nil
280
280
  stdout = []
281
281
  stderr = []
282
282
  result = remote_exec_helper(exec_string, stdout, stderr)
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: CloudyScripts
3
3
  version: !ruby/object:Gem::Version
4
- hash: 123
4
+ hash: 121
5
5
  prerelease: false
6
6
  segments:
7
7
  - 1
8
8
  - 8
9
- - 38
10
- version: 1.8.38
9
+ - 39
10
+ version: 1.8.39
11
11
  platform: ruby
12
12
  authors:
13
13
  - Matthias Jung
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-08-19 00:00:00 +00:00
18
+ date: 2011-08-23 00:00:00 +00:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency