hansolo 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f91d66cffab8d85277f8cdcb1295909acec1fba6
4
- data.tar.gz: b31ac90db35cdf67c8065eaa75b90c0860ee5dd0
3
+ metadata.gz: 505adb6131677e260940473632054933505f69e5
4
+ data.tar.gz: ece50f1e52ab3efd2b6b45e85d328e94ed4874bc
5
5
  SHA512:
6
- metadata.gz: 314019f8991c76179a6419092832de6fe8611dd12864a39364e68c0f06377345eb172d40bd2a3d2c56d6fa8c4dc17506545fdc57d3d1b9f25b6777b8e56f9943
7
- data.tar.gz: 3ebe4453897a520d3cbcf245228911dca673fa1b478d353e7821ee785d91397db7ae99183f4df51c64a52a5183f1744fe35c2b34cfb11e021f84b2e843a73e2b
6
+ metadata.gz: 10c903cbd9a45ff8b6aa13660a16592ff56f149ac4af4e6f684406f4c118a10974890105455f8f846893eb12d72bb26b8d05d1c4cb520d4ad237e2e1407aa609
7
+ data.tar.gz: d53e12dcdd642092ba3e84f7e06900f8af26f12370e44742994d8edd3662fba89e309722d17d404b9333275758cb85e015274aae7d4bca97ccf5885f1b98bf0f
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", 'Eduardo Gutierrez']
10
- spec.email = ["brian@vermonster.com", 'edd_d@mit.edu']
9
+ spec.authors = ["Brian Kaney"]
10
+ spec.email = ["brian@vermonster.com"]
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 = ""
@@ -39,6 +39,14 @@ module Hansolo
39
39
 
40
40
  private
41
41
 
42
+ def setup_parser
43
+ super
44
+
45
+ parser.on('-r', '--runlist a,b,c', Array, 'comma-separted list of recipes to run') do |option|
46
+ Hansolo.runlist = option
47
+ end
48
+ end
49
+
42
50
  def chef_solo
43
51
  'sudo chef-solo -c /tmp/solo.rb -j /tmp/deploy.json'
44
52
  end
@@ -1,3 +1,3 @@
1
1
  module Hansolo
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
metadata CHANGED
@@ -1,15 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hansolo
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian Kaney
8
- - Eduardo Gutierrez
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2013-07-10 00:00:00.000000000 Z
11
+ date: 2013-07-23 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: aws-sdk
@@ -168,7 +167,6 @@ dependencies:
168
167
  description: Tool to automate deployment using chef-solo and berkshelf
169
168
  email:
170
169
  - brian@vermonster.com
171
- - edd_d@mit.edu
172
170
  executables:
173
171
  - hansolo
174
172
  - hansolo-databag
@@ -222,7 +220,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
222
220
  version: '0'
223
221
  requirements: []
224
222
  rubyforge_project:
225
- rubygems_version: 2.0.2
223
+ rubygems_version: 2.0.3
226
224
  signing_key:
227
225
  specification_version: 4
228
226
  summary: Vendors Berkshelf cookbooks, uses rsync to sync cookbooks, and NET::SSH to