hansolo 0.1.10 → 0.1.11

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,7 @@
1
1
  ---
2
- !binary "U0hBMQ==":
3
- metadata.gz: !binary |-
4
- OGM1YmMzNmRmY2NjY2Y5ZWU5YTk5OTA0MzFkYzA3OTQ1ZTk1N2RlMQ==
5
- data.tar.gz: !binary |-
6
- ZTY1ZTVjNzkzN2Q4ZjY5MTIxYjg3ZTBjMjY0MDc3YjU4MWMyNzJjYg==
2
+ SHA1:
3
+ metadata.gz: 14fe69a3bf023b19a7598a1ff8a2c810f2c85cc4
4
+ data.tar.gz: 89e2883649f3474af7734a1673f132bf18ab151a
7
5
  SHA512:
8
- metadata.gz: !binary |-
9
- ZWVlYTQyOGMyNjBmMmUzYjBjNDVhOTI4M2QxMTM5ZWZkNjFiOGE2NGFiYWRj
10
- ZjJlYmY5M2QyMzQzNTVkMjgxMTFlMjMxYmQxZDUxMTkwMWFlY2JhMDc1ZmUx
11
- ZmFjMGQ5MDY3ODYxYThkYTZiYjQyZThkNzFhMjk1ZjMwNWZkOTE=
12
- data.tar.gz: !binary |-
13
- ZWM3NDk3NWIwMzUzNjlhMjQzYzg0YzFkNTU2ODJiNTU0NjgyNzE3NTA0ZWIz
14
- NzJkMDRhNDllNjIyOTdkMWJkNGZlZGY0MmVhYTgyMjMzNzk0ZmU1YmUzODNj
15
- NzdjMWMwNjY3ZjRhZDZhY2EzYzBiZWE3MWRjMDcyMDg2ZDFkYWU=
6
+ metadata.gz: 1b5a4a5e6d2fbee771bb13bd017e2722a27a2b9fd8c36463dc3deaa637f02e513c9f429c839f0809a321ee4a84f68e6d33616756ee857273b56f9e77e09b2e50
7
+ data.tar.gz: 0da30c001cf48c34bdef187d0920eb255bf2b81ae3a98d3f7600cf84c6ab36dad09d36796254631d62525f3220d04eb828e1aaec0bdb9c3a4034f5e9674b379c
data/lib/hansolo.rb CHANGED
@@ -13,7 +13,8 @@ module Hansolo
13
13
  :data_bags_path,
14
14
  :post_ssh_command,
15
15
  :librarian,
16
- :ssh_options
16
+ :ssh_options,
17
+ :chef_options
17
18
  end
18
19
 
19
20
  LOGGER = Logger.new(STDOUT)
@@ -42,13 +42,17 @@ module Hansolo
42
42
  def setup_parser
43
43
  super
44
44
 
45
+ parser.on('--chef-options "-l"', String, 'options to pass to chef-client') do |chef_options|
46
+ Hansolo.chef_options = chef_options
47
+ end
48
+
45
49
  parser.on('-r', '--runlist a,b,c', Array, 'comma-separted list of recipes to run') do |option|
46
50
  Hansolo.runlist = option
47
51
  end
48
52
  end
49
53
 
50
54
  def chef_solo
51
- 'sudo chef-solo -c /tmp/solo.rb -j /tmp/deploy.json'
55
+ "sudo chef-solo -c /tmp/solo.rb -j /tmp/deploy.json #{Hansolo.chef_options}"
52
56
  end
53
57
 
54
58
  def connect(host)
@@ -1,3 +1,3 @@
1
1
  module Hansolo
2
- VERSION = "0.1.10"
2
+ VERSION = "0.1.11"
3
3
  end
metadata CHANGED
@@ -1,111 +1,111 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hansolo
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.10
4
+ version: 0.1.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian Kaney
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-09-22 00:00:00.000000000 Z
11
+ date: 2014-09-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ~>
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
19
  version: '1.35'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ~>
24
+ - - "~>"
25
25
  - !ruby/object:Gem::Version
26
26
  version: '1.35'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: net-ssh
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ~>
31
+ - - "~>"
32
32
  - !ruby/object:Gem::Version
33
33
  version: '2.8'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - ~>
38
+ - - "~>"
39
39
  - !ruby/object:Gem::Version
40
40
  version: '2.8'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: net-ssh-gateway
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - ~>
45
+ - - "~>"
46
46
  - !ruby/object:Gem::Version
47
47
  version: '1.2'
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - ~>
52
+ - - "~>"
53
53
  - !ruby/object:Gem::Version
54
54
  version: '1.2'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: json
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - ~>
59
+ - - "~>"
60
60
  - !ruby/object:Gem::Version
61
61
  version: '1.8'
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - ~>
66
+ - - "~>"
67
67
  - !ruby/object:Gem::Version
68
68
  version: '1.8'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: terminal-table
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - ~>
73
+ - - "~>"
74
74
  - !ruby/object:Gem::Version
75
75
  version: '1.4'
76
76
  type: :runtime
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - ~>
80
+ - - "~>"
81
81
  - !ruby/object:Gem::Version
82
82
  version: '1.4'
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: cocaine
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
- - - ~>
87
+ - - "~>"
88
88
  - !ruby/object:Gem::Version
89
89
  version: '0.5'
90
90
  type: :runtime
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
- - - ~>
94
+ - - "~>"
95
95
  - !ruby/object:Gem::Version
96
96
  version: '0.5'
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: bundler
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
- - - ~>
101
+ - - "~>"
102
102
  - !ruby/object:Gem::Version
103
103
  version: '1.3'
104
104
  type: :development
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
- - - ~>
108
+ - - "~>"
109
109
  - !ruby/object:Gem::Version
110
110
  version: '1.3'
111
111
  - !ruby/object:Gem::Dependency
@@ -126,42 +126,42 @@ dependencies:
126
126
  name: mocha
127
127
  requirement: !ruby/object:Gem::Requirement
128
128
  requirements:
129
- - - ~>
129
+ - - "~>"
130
130
  - !ruby/object:Gem::Version
131
131
  version: '1.0'
132
132
  type: :development
133
133
  prerelease: false
134
134
  version_requirements: !ruby/object:Gem::Requirement
135
135
  requirements:
136
- - - ~>
136
+ - - "~>"
137
137
  - !ruby/object:Gem::Version
138
138
  version: '1.0'
139
139
  - !ruby/object:Gem::Dependency
140
140
  name: yard
141
141
  requirement: !ruby/object:Gem::Requirement
142
142
  requirements:
143
- - - ~>
143
+ - - "~>"
144
144
  - !ruby/object:Gem::Version
145
145
  version: '0.8'
146
146
  type: :development
147
147
  prerelease: false
148
148
  version_requirements: !ruby/object:Gem::Requirement
149
149
  requirements:
150
- - - ~>
150
+ - - "~>"
151
151
  - !ruby/object:Gem::Version
152
152
  version: '0.8'
153
153
  - !ruby/object:Gem::Dependency
154
154
  name: redcarpet
155
155
  requirement: !ruby/object:Gem::Requirement
156
156
  requirements:
157
- - - ~>
157
+ - - "~>"
158
158
  - !ruby/object:Gem::Version
159
159
  version: '3.1'
160
160
  type: :development
161
161
  prerelease: false
162
162
  version_requirements: !ruby/object:Gem::Requirement
163
163
  requirements:
164
- - - ~>
164
+ - - "~>"
165
165
  - !ruby/object:Gem::Version
166
166
  version: '3.1'
167
167
  description: Tool to automate deployment using chef-solo and berkshelf
@@ -174,8 +174,8 @@ executables:
174
174
  extensions: []
175
175
  extra_rdoc_files: []
176
176
  files:
177
- - .gitignore
178
- - .yardopts
177
+ - ".gitignore"
178
+ - ".yardopts"
179
179
  - Gemfile
180
180
  - LICENSE.txt
181
181
  - README.md
@@ -210,17 +210,17 @@ require_paths:
210
210
  - lib
211
211
  required_ruby_version: !ruby/object:Gem::Requirement
212
212
  requirements:
213
- - - ! '>='
213
+ - - ">="
214
214
  - !ruby/object:Gem::Version
215
215
  version: '0'
216
216
  required_rubygems_version: !ruby/object:Gem::Requirement
217
217
  requirements:
218
- - - ! '>='
218
+ - - ">="
219
219
  - !ruby/object:Gem::Version
220
220
  version: '0'
221
221
  requirements: []
222
222
  rubyforge_project:
223
- rubygems_version: 2.4.1
223
+ rubygems_version: 2.2.2
224
224
  signing_key:
225
225
  specification_version: 4
226
226
  summary: Vendors Berkshelf cookbooks, uses rsync to sync cookbooks, and NET::SSH to