blimpy 0.6.0 → 0.6.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -25,6 +25,11 @@ module Blimpy
25
25
  unless @puppet_exists
26
26
  super(box)
27
27
  end
28
+
29
+ unless box.ssh_into("test -f #{dir_name}/gempath.sh")
30
+ gemhelper = File.expand_path(File.dirname(__FILE__) + "/../../../scripts/gempath.sh")
31
+ box.scp_file(gemhelper, dir_name)
32
+ end
28
33
  end
29
34
 
30
35
  def flight(box)
@@ -39,7 +44,7 @@ module Blimpy
39
44
  run_sudo = ''
40
45
  run_sudo = 'sudo' if use_sudo?(box)
41
46
 
42
- box.ssh_into("cd #{dir_name} && #{run_sudo} #{command}")
47
+ box.ssh_into("cd #{dir_name} && #{run_sudo} ./gempath.sh #{command}")
43
48
  end
44
49
 
45
50
  def postflight(box)
@@ -1,3 +1,3 @@
1
1
  module Blimpy
2
- VERSION = "0.6.0"
2
+ VERSION = "0.6.1"
3
3
  end
@@ -0,0 +1,6 @@
1
+ #!/bin/sh
2
+
3
+ export PATH=/var/lib/gems/1.8/bin:$PATH
4
+
5
+ exec $@
6
+
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: blimpy
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.6.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-08-25 00:00:00.000000000Z
12
+ date: 2012-08-27 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: fog
16
- requirement: &6595860 !ruby/object:Gem::Requirement
16
+ requirement: &9243200 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: '0'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *6595860
24
+ version_requirements: *9243200
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: thor
27
- requirement: &6592700 !ruby/object:Gem::Requirement
27
+ requirement: &9242160 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: '0'
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *6592700
35
+ version_requirements: *9242160
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: minitar
38
- requirement: &6573460 !ruby/object:Gem::Requirement
38
+ requirement: &9241220 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ! '>='
@@ -43,7 +43,7 @@ dependencies:
43
43
  version: '0'
44
44
  type: :runtime
45
45
  prerelease: false
46
- version_requirements: *6573460
46
+ version_requirements: *9241220
47
47
  description: Blimpy is a tool for managing a fleet of machines in the CLOUD!
48
48
  email:
49
49
  - tyler@monkeypox.org
@@ -88,6 +88,7 @@ files:
88
88
  - lib/blimpy/livery/puppet.rb
89
89
  - lib/blimpy/securitygroups.rb
90
90
  - lib/blimpy/version.rb
91
+ - scripts/gempath.sh
91
92
  - scripts/puppet.sh
92
93
  - spec/blimpy/box_spec.rb
93
94
  - spec/blimpy/boxes/aws_spec.rb
@@ -116,7 +117,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
116
117
  version: '0'
117
118
  segments:
118
119
  - 0
119
- hash: 932416498555668498
120
+ hash: -1409111270662760311
120
121
  required_rubygems_version: !ruby/object:Gem::Requirement
121
122
  none: false
122
123
  requirements:
@@ -125,7 +126,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
125
126
  version: '0'
126
127
  segments:
127
128
  - 0
128
- hash: 932416498555668498
129
+ hash: -1409111270662760311
129
130
  requirements: []
130
131
  rubyforge_project:
131
132
  rubygems_version: 1.8.10