hansolo 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/hansolo.gemspec +2 -2
- data/lib/hansolo/providers/aws/solo.rb +3 -2
- data/lib/hansolo/version.rb +1 -1
- metadata +30 -51
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: f91d66cffab8d85277f8cdcb1295909acec1fba6
|
4
|
+
data.tar.gz: b31ac90db35cdf67c8065eaa75b90c0860ee5dd0
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 314019f8991c76179a6419092832de6fe8611dd12864a39364e68c0f06377345eb172d40bd2a3d2c56d6fa8c4dc17506545fdc57d3d1b9f25b6777b8e56f9943
|
7
|
+
data.tar.gz: 3ebe4453897a520d3cbcf245228911dca673fa1b478d353e7821ee785d91397db7ae99183f4df51c64a52a5183f1744fe35c2b34cfb11e021f84b2e843a73e2b
|
data/hansolo.gemspec
CHANGED
@@ -6,8 +6,8 @@ require 'hansolo/version'
|
|
6
6
|
Gem::Specification.new do |spec|
|
7
7
|
spec.name = "hansolo"
|
8
8
|
spec.version = Hansolo::VERSION
|
9
|
-
spec.authors = ["Brian Kaney"]
|
10
|
-
spec.email = ["brian@vermonster.com"]
|
9
|
+
spec.authors = ["Brian Kaney", 'Eduardo Gutierrez']
|
10
|
+
spec.email = ["brian@vermonster.com", 'edd_d@mit.edu']
|
11
11
|
spec.description = %q{Tool to automate deployment using chef-solo and berkshelf}
|
12
12
|
spec.summary = %q{Vendors Berkshelf cookbooks, uses rsync to sync cookbooks, and NET::SSH to run chef-solo with conventions for building solo.rb and the JSON runlist}
|
13
13
|
spec.homepage = ""
|
@@ -6,7 +6,8 @@ module Hansolo::Providers::AWS
|
|
6
6
|
ssh = connect(host)
|
7
7
|
|
8
8
|
command = data_bag_items.inject([]) do |cmd, object|
|
9
|
-
|
9
|
+
key = object.key.sub("#{Hansolo.app}/", '')
|
10
|
+
path = Pathname.new('/tmp/data_bags').join(key)
|
10
11
|
|
11
12
|
cmd << "mkdir -p #{path.dirname}"
|
12
13
|
cmd << "echo '#{object.read}' > #{path}"
|
@@ -21,7 +22,7 @@ module Hansolo::Providers::AWS
|
|
21
22
|
end
|
22
23
|
|
23
24
|
def data_bag_items
|
24
|
-
bucket.objects.
|
25
|
+
bucket.objects.with_prefix(Hansolo.app)
|
25
26
|
end
|
26
27
|
end
|
27
28
|
end
|
data/lib/hansolo/version.rb
CHANGED
metadata
CHANGED
@@ -1,116 +1,103 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hansolo
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
5
|
-
prerelease:
|
4
|
+
version: 0.1.1
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Brian Kaney
|
8
|
+
- Eduardo Gutierrez
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-07-
|
12
|
+
date: 2013-07-10 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: aws-sdk
|
16
16
|
requirement: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
17
|
requirements:
|
19
|
-
- -
|
18
|
+
- - '>='
|
20
19
|
- !ruby/object:Gem::Version
|
21
20
|
version: '0'
|
22
21
|
type: :runtime
|
23
22
|
prerelease: false
|
24
23
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
24
|
requirements:
|
27
|
-
- -
|
25
|
+
- - '>='
|
28
26
|
- !ruby/object:Gem::Version
|
29
27
|
version: '0'
|
30
28
|
- !ruby/object:Gem::Dependency
|
31
29
|
name: net-ssh
|
32
30
|
requirement: !ruby/object:Gem::Requirement
|
33
|
-
none: false
|
34
31
|
requirements:
|
35
|
-
- -
|
32
|
+
- - '>='
|
36
33
|
- !ruby/object:Gem::Version
|
37
34
|
version: '0'
|
38
35
|
type: :runtime
|
39
36
|
prerelease: false
|
40
37
|
version_requirements: !ruby/object:Gem::Requirement
|
41
|
-
none: false
|
42
38
|
requirements:
|
43
|
-
- -
|
39
|
+
- - '>='
|
44
40
|
- !ruby/object:Gem::Version
|
45
41
|
version: '0'
|
46
42
|
- !ruby/object:Gem::Dependency
|
47
43
|
name: net-ssh-gateway
|
48
44
|
requirement: !ruby/object:Gem::Requirement
|
49
|
-
none: false
|
50
45
|
requirements:
|
51
|
-
- -
|
46
|
+
- - '>='
|
52
47
|
- !ruby/object:Gem::Version
|
53
48
|
version: '0'
|
54
49
|
type: :runtime
|
55
50
|
prerelease: false
|
56
51
|
version_requirements: !ruby/object:Gem::Requirement
|
57
|
-
none: false
|
58
52
|
requirements:
|
59
|
-
- -
|
53
|
+
- - '>='
|
60
54
|
- !ruby/object:Gem::Version
|
61
55
|
version: '0'
|
62
56
|
- !ruby/object:Gem::Dependency
|
63
57
|
name: json
|
64
58
|
requirement: !ruby/object:Gem::Requirement
|
65
|
-
none: false
|
66
59
|
requirements:
|
67
|
-
- -
|
60
|
+
- - '>='
|
68
61
|
- !ruby/object:Gem::Version
|
69
62
|
version: '0'
|
70
63
|
type: :runtime
|
71
64
|
prerelease: false
|
72
65
|
version_requirements: !ruby/object:Gem::Requirement
|
73
|
-
none: false
|
74
66
|
requirements:
|
75
|
-
- -
|
67
|
+
- - '>='
|
76
68
|
- !ruby/object:Gem::Version
|
77
69
|
version: '0'
|
78
70
|
- !ruby/object:Gem::Dependency
|
79
71
|
name: terminal-table
|
80
72
|
requirement: !ruby/object:Gem::Requirement
|
81
|
-
none: false
|
82
73
|
requirements:
|
83
|
-
- -
|
74
|
+
- - '>='
|
84
75
|
- !ruby/object:Gem::Version
|
85
76
|
version: '0'
|
86
77
|
type: :runtime
|
87
78
|
prerelease: false
|
88
79
|
version_requirements: !ruby/object:Gem::Requirement
|
89
|
-
none: false
|
90
80
|
requirements:
|
91
|
-
- -
|
81
|
+
- - '>='
|
92
82
|
- !ruby/object:Gem::Version
|
93
83
|
version: '0'
|
94
84
|
- !ruby/object:Gem::Dependency
|
95
85
|
name: cocaine
|
96
86
|
requirement: !ruby/object:Gem::Requirement
|
97
|
-
none: false
|
98
87
|
requirements:
|
99
|
-
- -
|
88
|
+
- - '>='
|
100
89
|
- !ruby/object:Gem::Version
|
101
90
|
version: '0'
|
102
91
|
type: :runtime
|
103
92
|
prerelease: false
|
104
93
|
version_requirements: !ruby/object:Gem::Requirement
|
105
|
-
none: false
|
106
94
|
requirements:
|
107
|
-
- -
|
95
|
+
- - '>='
|
108
96
|
- !ruby/object:Gem::Version
|
109
97
|
version: '0'
|
110
98
|
- !ruby/object:Gem::Dependency
|
111
99
|
name: bundler
|
112
100
|
requirement: !ruby/object:Gem::Requirement
|
113
|
-
none: false
|
114
101
|
requirements:
|
115
102
|
- - ~>
|
116
103
|
- !ruby/object:Gem::Version
|
@@ -118,7 +105,6 @@ dependencies:
|
|
118
105
|
type: :development
|
119
106
|
prerelease: false
|
120
107
|
version_requirements: !ruby/object:Gem::Requirement
|
121
|
-
none: false
|
122
108
|
requirements:
|
123
109
|
- - ~>
|
124
110
|
- !ruby/object:Gem::Version
|
@@ -126,70 +112,63 @@ dependencies:
|
|
126
112
|
- !ruby/object:Gem::Dependency
|
127
113
|
name: rake
|
128
114
|
requirement: !ruby/object:Gem::Requirement
|
129
|
-
none: false
|
130
115
|
requirements:
|
131
|
-
- -
|
116
|
+
- - '>='
|
132
117
|
- !ruby/object:Gem::Version
|
133
118
|
version: '0'
|
134
119
|
type: :development
|
135
120
|
prerelease: false
|
136
121
|
version_requirements: !ruby/object:Gem::Requirement
|
137
|
-
none: false
|
138
122
|
requirements:
|
139
|
-
- -
|
123
|
+
- - '>='
|
140
124
|
- !ruby/object:Gem::Version
|
141
125
|
version: '0'
|
142
126
|
- !ruby/object:Gem::Dependency
|
143
127
|
name: mocha
|
144
128
|
requirement: !ruby/object:Gem::Requirement
|
145
|
-
none: false
|
146
129
|
requirements:
|
147
|
-
- -
|
130
|
+
- - '>='
|
148
131
|
- !ruby/object:Gem::Version
|
149
132
|
version: '0'
|
150
133
|
type: :development
|
151
134
|
prerelease: false
|
152
135
|
version_requirements: !ruby/object:Gem::Requirement
|
153
|
-
none: false
|
154
136
|
requirements:
|
155
|
-
- -
|
137
|
+
- - '>='
|
156
138
|
- !ruby/object:Gem::Version
|
157
139
|
version: '0'
|
158
140
|
- !ruby/object:Gem::Dependency
|
159
141
|
name: yard
|
160
142
|
requirement: !ruby/object:Gem::Requirement
|
161
|
-
none: false
|
162
143
|
requirements:
|
163
|
-
- -
|
144
|
+
- - '>='
|
164
145
|
- !ruby/object:Gem::Version
|
165
146
|
version: '0'
|
166
147
|
type: :development
|
167
148
|
prerelease: false
|
168
149
|
version_requirements: !ruby/object:Gem::Requirement
|
169
|
-
none: false
|
170
150
|
requirements:
|
171
|
-
- -
|
151
|
+
- - '>='
|
172
152
|
- !ruby/object:Gem::Version
|
173
153
|
version: '0'
|
174
154
|
- !ruby/object:Gem::Dependency
|
175
155
|
name: redcarpet
|
176
156
|
requirement: !ruby/object:Gem::Requirement
|
177
|
-
none: false
|
178
157
|
requirements:
|
179
|
-
- -
|
158
|
+
- - '>='
|
180
159
|
- !ruby/object:Gem::Version
|
181
160
|
version: '0'
|
182
161
|
type: :development
|
183
162
|
prerelease: false
|
184
163
|
version_requirements: !ruby/object:Gem::Requirement
|
185
|
-
none: false
|
186
164
|
requirements:
|
187
|
-
- -
|
165
|
+
- - '>='
|
188
166
|
- !ruby/object:Gem::Version
|
189
167
|
version: '0'
|
190
168
|
description: Tool to automate deployment using chef-solo and berkshelf
|
191
169
|
email:
|
192
170
|
- brian@vermonster.com
|
171
|
+
- edd_d@mit.edu
|
193
172
|
executables:
|
194
173
|
- hansolo
|
195
174
|
- hansolo-databag
|
@@ -226,27 +205,27 @@ files:
|
|
226
205
|
homepage: ''
|
227
206
|
licenses:
|
228
207
|
- MIT
|
208
|
+
metadata: {}
|
229
209
|
post_install_message:
|
230
210
|
rdoc_options: []
|
231
211
|
require_paths:
|
232
212
|
- lib
|
233
213
|
required_ruby_version: !ruby/object:Gem::Requirement
|
234
|
-
none: false
|
235
214
|
requirements:
|
236
|
-
- -
|
215
|
+
- - '>='
|
237
216
|
- !ruby/object:Gem::Version
|
238
217
|
version: '0'
|
239
218
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
240
|
-
none: false
|
241
219
|
requirements:
|
242
|
-
- -
|
220
|
+
- - '>='
|
243
221
|
- !ruby/object:Gem::Version
|
244
222
|
version: '0'
|
245
223
|
requirements: []
|
246
224
|
rubyforge_project:
|
247
|
-
rubygems_version:
|
225
|
+
rubygems_version: 2.0.2
|
248
226
|
signing_key:
|
249
|
-
specification_version:
|
227
|
+
specification_version: 4
|
250
228
|
summary: Vendors Berkshelf cookbooks, uses rsync to sync cookbooks, and NET::SSH to
|
251
229
|
run chef-solo with conventions for building solo.rb and the JSON runlist
|
252
230
|
test_files: []
|
231
|
+
has_rdoc:
|