mcollective-client 2.6.1 → 2.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/lib/mcollective.rb +2 -1
- data/lib/mcollective/client.rb +32 -6
- data/lib/mcollective/config.rb +4 -0
- data/lib/mcollective/exceptions.rb +2 -1
- data/lib/mcollective/message.rb +15 -2
- data/lib/mcollective/monkey_patches.rb +1 -1
- data/lib/mcollective/optionparser.rb +4 -0
- data/lib/mcollective/pluginpackager.rb +9 -0
- data/lib/mcollective/pluginpackager/agent_definition.rb +3 -3
- data/lib/mcollective/pluginpackager/standard_definition.rb +1 -1
- data/lib/mcollective/rpc/actionrunner.rb +21 -5
- data/lib/mcollective/rpc/client.rb +16 -16
- data/lib/mcollective/vendor/require_vendored.rb +0 -1
- data/spec/unit/client_spec.rb +81 -55
- data/spec/unit/message_spec.rb +30 -0
- data/spec/unit/optionparser_spec.rb +6 -0
- data/spec/unit/pluginpackager/agent_definition_spec.rb +21 -2
- data/spec/unit/pluginpackager/standard_definition_spec.rb +5 -1
- data/spec/unit/plugins/mcollective/connector/activemq_spec.rb +11 -2
- data/spec/unit/plugins/mcollective/connector/rabbitmq_spec.rb +22 -5
- data/spec/unit/plugins/mcollective/data/collective_data_spec.rb +33 -0
- data/spec/unit/plugins/mcollective/packagers/modulepackage_packager_spec.rb +5 -0
- data/spec/unit/rpc/actionrunner_spec.rb +36 -7
- data/spec/unit/rpc/client_spec.rb +165 -31
- data/spec/unit/runner_spec.rb +18 -0
- metadata +228 -234
data/spec/unit/runner_spec.rb
CHANGED
@@ -181,6 +181,24 @@ module MCollective
|
|
181
181
|
end
|
182
182
|
end
|
183
183
|
|
184
|
+
describe '#start_receiver_thread' do
|
185
|
+
let(:current) do
|
186
|
+
mock('current thread')
|
187
|
+
end
|
188
|
+
|
189
|
+
before :each do
|
190
|
+
Thread.stubs(:new).yields
|
191
|
+
Thread.stubs(:current).returns(current)
|
192
|
+
end
|
193
|
+
|
194
|
+
it 'should reraise exceptions' do
|
195
|
+
runner.instance_variable_set(:@state, :running)
|
196
|
+
runner.stubs(:receiver_thread).raises('test error')
|
197
|
+
current.expects(:raise).once
|
198
|
+
runner.send(:start_receiver_thread)
|
199
|
+
end
|
200
|
+
end
|
201
|
+
|
184
202
|
describe '#receiver_thread' do
|
185
203
|
let(:runner) do
|
186
204
|
Runner.new(nil)
|
metadata
CHANGED
@@ -1,62 +1,55 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mcollective-client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
5
|
-
prerelease:
|
4
|
+
version: 2.7.0
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Puppet Labs
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date: 2014-
|
11
|
+
date: 2014-11-25 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
14
|
name: systemu
|
16
15
|
requirement: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
16
|
requirements:
|
19
|
-
- -
|
17
|
+
- - '>='
|
20
18
|
- !ruby/object:Gem::Version
|
21
19
|
version: '0'
|
22
20
|
type: :runtime
|
23
21
|
prerelease: false
|
24
22
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
23
|
requirements:
|
27
|
-
- -
|
24
|
+
- - '>='
|
28
25
|
- !ruby/object:Gem::Version
|
29
26
|
version: '0'
|
30
27
|
- !ruby/object:Gem::Dependency
|
31
28
|
name: json
|
32
29
|
requirement: !ruby/object:Gem::Requirement
|
33
|
-
none: false
|
34
30
|
requirements:
|
35
|
-
- -
|
31
|
+
- - '>='
|
36
32
|
- !ruby/object:Gem::Version
|
37
33
|
version: '0'
|
38
34
|
type: :runtime
|
39
35
|
prerelease: false
|
40
36
|
version_requirements: !ruby/object:Gem::Requirement
|
41
|
-
none: false
|
42
37
|
requirements:
|
43
|
-
- -
|
38
|
+
- - '>='
|
44
39
|
- !ruby/object:Gem::Version
|
45
40
|
version: '0'
|
46
41
|
- !ruby/object:Gem::Dependency
|
47
42
|
name: stomp
|
48
43
|
requirement: !ruby/object:Gem::Requirement
|
49
|
-
none: false
|
50
44
|
requirements:
|
51
|
-
- -
|
45
|
+
- - '>='
|
52
46
|
- !ruby/object:Gem::Version
|
53
47
|
version: '0'
|
54
48
|
type: :runtime
|
55
49
|
prerelease: false
|
56
50
|
version_requirements: !ruby/object:Gem::Requirement
|
57
|
-
none: false
|
58
51
|
requirements:
|
59
|
-
- -
|
52
|
+
- - '>='
|
60
53
|
- !ruby/object:Gem::Version
|
61
54
|
version: '0'
|
62
55
|
description: Client libraries for the Mcollective Application Server
|
@@ -66,197 +59,199 @@ executables:
|
|
66
59
|
extensions: []
|
67
60
|
extra_rdoc_files: []
|
68
61
|
files:
|
69
|
-
- lib/mcollective
|
70
|
-
- lib/mcollective/
|
71
|
-
- lib/mcollective/
|
72
|
-
- lib/mcollective/
|
73
|
-
- lib/mcollective/
|
74
|
-
- lib/mcollective/
|
75
|
-
- lib/mcollective/
|
76
|
-
- lib/mcollective/rpc/progress.rb
|
77
|
-
- lib/mcollective/rpc/reply.rb
|
78
|
-
- lib/mcollective/rpc/audit.rb
|
79
|
-
- lib/mcollective/rpc/result.rb
|
80
|
-
- lib/mcollective/rpc/agent.rb
|
81
|
-
- lib/mcollective/rpc/request.rb
|
82
|
-
- lib/mcollective/rpc/stats.rb
|
83
|
-
- lib/mcollective/rpc/actionrunner.rb
|
84
|
-
- lib/mcollective/facts/base.rb
|
85
|
-
- lib/mcollective/security.rb
|
86
|
-
- lib/mcollective/log.rb
|
87
|
-
- lib/mcollective/matcher.rb
|
88
|
-
- lib/mcollective/unix_daemon.rb
|
89
|
-
- lib/mcollective/windows_daemon.rb
|
62
|
+
- lib/mcollective.rb
|
63
|
+
- lib/mcollective/agent.rb
|
64
|
+
- lib/mcollective/agents.rb
|
65
|
+
- lib/mcollective/aggregate.rb
|
66
|
+
- lib/mcollective/aggregate/base.rb
|
67
|
+
- lib/mcollective/aggregate/result.rb
|
68
|
+
- lib/mcollective/aggregate/result/base.rb
|
90
69
|
- lib/mcollective/aggregate/result/collection_result.rb
|
91
70
|
- lib/mcollective/aggregate/result/numeric_result.rb
|
92
|
-
- lib/mcollective/aggregate/result/base.rb
|
93
|
-
- lib/mcollective/aggregate/result.rb
|
94
|
-
- lib/mcollective/aggregate/base.rb
|
95
|
-
- lib/mcollective/optionparser.rb
|
96
|
-
- lib/mcollective/ssl.rb
|
97
|
-
- lib/mcollective/runnerstats.rb
|
98
|
-
- lib/mcollective/shell.rb
|
99
|
-
- lib/mcollective/validator.rb
|
100
|
-
- lib/mcollective/vendor/require_vendored.rb
|
101
|
-
- lib/mcollective/matcher/parser.rb
|
102
|
-
- lib/mcollective/matcher/scanner.rb
|
103
|
-
- lib/mcollective/config.rb
|
104
|
-
- lib/mcollective/message.rb
|
105
71
|
- lib/mcollective/application.rb
|
106
|
-
- lib/mcollective/pluginpackager.rb
|
107
|
-
- lib/mcollective/facts.rb
|
108
|
-
- lib/mcollective/aggregate.rb
|
109
|
-
- lib/mcollective/cache.rb
|
110
|
-
- lib/mcollective/exceptions.rb
|
111
|
-
- lib/mcollective/registration/base.rb
|
112
72
|
- lib/mcollective/applications.rb
|
113
|
-
- lib/mcollective/
|
114
|
-
- lib/mcollective/
|
73
|
+
- lib/mcollective/cache.rb
|
74
|
+
- lib/mcollective/client.rb
|
75
|
+
- lib/mcollective/config.rb
|
76
|
+
- lib/mcollective/connector.rb
|
77
|
+
- lib/mcollective/connector/base.rb
|
78
|
+
- lib/mcollective/data.rb
|
115
79
|
- lib/mcollective/data/base.rb
|
80
|
+
- lib/mcollective/data/result.rb
|
81
|
+
- lib/mcollective/ddl.rb
|
82
|
+
- lib/mcollective/ddl/agentddl.rb
|
83
|
+
- lib/mcollective/ddl/base.rb
|
116
84
|
- lib/mcollective/ddl/dataddl.rb
|
117
85
|
- lib/mcollective/ddl/discoveryddl.rb
|
118
86
|
- lib/mcollective/ddl/validatorddl.rb
|
119
|
-
- lib/mcollective/ddl/agentddl.rb
|
120
|
-
- lib/mcollective/ddl/base.rb
|
121
|
-
- lib/mcollective/data.rb
|
122
|
-
- lib/mcollective/logger/file_logger.rb
|
123
|
-
- lib/mcollective/logger/console_logger.rb
|
124
|
-
- lib/mcollective/logger/syslog_logger.rb
|
125
|
-
- lib/mcollective/logger/base.rb
|
126
|
-
- lib/mcollective/registration.rb
|
127
87
|
- lib/mcollective/discovery.rb
|
128
|
-
- lib/mcollective/
|
129
|
-
- lib/mcollective/
|
130
|
-
- lib/mcollective/
|
131
|
-
- lib/mcollective/
|
132
|
-
- lib/mcollective/agent.rb
|
133
|
-
- lib/mcollective/agents.rb
|
134
|
-
- lib/mcollective/ddl.rb
|
135
|
-
- lib/mcollective/connector/base.rb
|
88
|
+
- lib/mcollective/exceptions.rb
|
89
|
+
- lib/mcollective/facts.rb
|
90
|
+
- lib/mcollective/facts/base.rb
|
91
|
+
- lib/mcollective/generators.rb
|
136
92
|
- lib/mcollective/generators/agent_generator.rb
|
93
|
+
- lib/mcollective/generators/base.rb
|
94
|
+
- lib/mcollective/generators/data_generator.rb
|
137
95
|
- lib/mcollective/generators/templates/action_snippet.erb
|
138
|
-
- lib/mcollective/generators/templates/ddl.erb
|
139
96
|
- lib/mcollective/generators/templates/data_input_snippet.erb
|
97
|
+
- lib/mcollective/generators/templates/ddl.erb
|
140
98
|
- lib/mcollective/generators/templates/plugin.erb
|
141
|
-
- lib/mcollective/
|
142
|
-
- lib/mcollective/
|
143
|
-
- lib/mcollective/
|
99
|
+
- lib/mcollective/log.rb
|
100
|
+
- lib/mcollective/logger.rb
|
101
|
+
- lib/mcollective/logger/base.rb
|
102
|
+
- lib/mcollective/logger/console_logger.rb
|
103
|
+
- lib/mcollective/logger/file_logger.rb
|
104
|
+
- lib/mcollective/logger/syslog_logger.rb
|
105
|
+
- lib/mcollective/matcher.rb
|
106
|
+
- lib/mcollective/matcher/parser.rb
|
107
|
+
- lib/mcollective/matcher/scanner.rb
|
108
|
+
- lib/mcollective/message.rb
|
109
|
+
- lib/mcollective/monkey_patches.rb
|
110
|
+
- lib/mcollective/optionparser.rb
|
111
|
+
- lib/mcollective/pluginmanager.rb
|
112
|
+
- lib/mcollective/pluginpackager.rb
|
113
|
+
- lib/mcollective/pluginpackager/agent_definition.rb
|
114
|
+
- lib/mcollective/pluginpackager/standard_definition.rb
|
115
|
+
- lib/mcollective/registration.rb
|
116
|
+
- lib/mcollective/registration/base.rb
|
117
|
+
- lib/mcollective/rpc.rb
|
118
|
+
- lib/mcollective/rpc/actionrunner.rb
|
119
|
+
- lib/mcollective/rpc/agent.rb
|
120
|
+
- lib/mcollective/rpc/audit.rb
|
121
|
+
- lib/mcollective/rpc/client.rb
|
122
|
+
- lib/mcollective/rpc/helpers.rb
|
123
|
+
- lib/mcollective/rpc/progress.rb
|
124
|
+
- lib/mcollective/rpc/reply.rb
|
125
|
+
- lib/mcollective/rpc/request.rb
|
126
|
+
- lib/mcollective/rpc/result.rb
|
127
|
+
- lib/mcollective/rpc/stats.rb
|
128
|
+
- lib/mcollective/runnerstats.rb
|
129
|
+
- lib/mcollective/security.rb
|
144
130
|
- lib/mcollective/security/base.rb
|
145
|
-
- lib/mcollective.rb
|
131
|
+
- lib/mcollective/shell.rb
|
132
|
+
- lib/mcollective/ssl.rb
|
133
|
+
- lib/mcollective/unix_daemon.rb
|
134
|
+
- lib/mcollective/util.rb
|
135
|
+
- lib/mcollective/validator.rb
|
136
|
+
- lib/mcollective/vendor.rb
|
137
|
+
- lib/mcollective/vendor/require_vendored.rb
|
138
|
+
- lib/mcollective/windows_daemon.rb
|
146
139
|
- bin/mco
|
147
|
-
- spec/
|
140
|
+
- spec/Rakefile
|
141
|
+
- spec/fixtures/application/test.rb
|
142
|
+
- spec/fixtures/test-cert.pem
|
143
|
+
- spec/fixtures/test-private.pem
|
144
|
+
- spec/fixtures/test-public.pem
|
148
145
|
- spec/fixtures/util/1.in
|
149
|
-
- spec/fixtures/util/4.in
|
150
146
|
- spec/fixtures/util/1.out
|
151
|
-
- spec/fixtures/util/3.in
|
152
|
-
- spec/fixtures/util/4.out
|
153
147
|
- spec/fixtures/util/2.in
|
154
148
|
- spec/fixtures/util/2.out
|
155
|
-
- spec/fixtures/
|
156
|
-
- spec/fixtures/
|
157
|
-
- spec/fixtures/
|
158
|
-
- spec/fixtures/
|
149
|
+
- spec/fixtures/util/3.in
|
150
|
+
- spec/fixtures/util/3.out
|
151
|
+
- spec/fixtures/util/4.in
|
152
|
+
- spec/fixtures/util/4.out
|
159
153
|
- spec/monkey_patches/instance_variable_defined.rb
|
160
154
|
- spec/spec.opts
|
161
|
-
- spec/
|
162
|
-
- spec/unit/
|
163
|
-
- spec/unit/runnerstats_spec.rb
|
164
|
-
- spec/unit/validator_spec.rb
|
165
|
-
- spec/unit/rpc/agent_spec.rb
|
166
|
-
- spec/unit/rpc/helpers_spec.rb
|
167
|
-
- spec/unit/rpc/stats_spec.rb
|
168
|
-
- spec/unit/rpc/actionrunner_spec.rb
|
169
|
-
- spec/unit/rpc/request_spec.rb
|
170
|
-
- spec/unit/rpc/result_spec.rb
|
171
|
-
- spec/unit/rpc/client_spec.rb
|
172
|
-
- spec/unit/rpc/reply_spec.rb
|
173
|
-
- spec/unit/facts/base_spec.rb
|
174
|
-
- spec/unit/vendor_spec.rb
|
175
|
-
- spec/unit/ssl_spec.rb
|
155
|
+
- spec/spec_helper.rb
|
156
|
+
- spec/unit/agents_spec.rb
|
176
157
|
- spec/unit/aggregate/base_spec.rb
|
177
158
|
- spec/unit/aggregate/result/base_spec.rb
|
178
159
|
- spec/unit/aggregate/result/collection_result_spec.rb
|
179
160
|
- spec/unit/aggregate/result/numeric_result_spec.rb
|
180
|
-
- spec/unit/
|
181
|
-
- spec/unit/
|
182
|
-
- spec/unit/config_spec.rb
|
161
|
+
- spec/unit/aggregate_spec.rb
|
162
|
+
- spec/unit/application_spec.rb
|
183
163
|
- spec/unit/applications_spec.rb
|
164
|
+
- spec/unit/array_spec.rb
|
184
165
|
- spec/unit/cache_spec.rb
|
185
|
-
- spec/unit/
|
186
|
-
- spec/unit/
|
187
|
-
- spec/unit/
|
188
|
-
- spec/unit/ddl_spec.rb
|
189
|
-
- spec/unit/log_spec.rb
|
190
|
-
- spec/unit/pluginmanager_spec.rb
|
191
|
-
- spec/unit/registration/base_spec.rb
|
166
|
+
- spec/unit/client_spec.rb
|
167
|
+
- spec/unit/config_spec.rb
|
168
|
+
- spec/unit/connector/base_spec.rb
|
192
169
|
- spec/unit/data/base_spec.rb
|
193
170
|
- spec/unit/data/result_spec.rb
|
171
|
+
- spec/unit/data_spec.rb
|
172
|
+
- spec/unit/ddl/agentddl_spec.rb
|
194
173
|
- spec/unit/ddl/base_spec.rb
|
195
174
|
- spec/unit/ddl/dataddl_spec.rb
|
196
175
|
- spec/unit/ddl/discoveryddl_spec.rb
|
197
|
-
- spec/unit/
|
176
|
+
- spec/unit/ddl_spec.rb
|
198
177
|
- spec/unit/discovery_spec.rb
|
178
|
+
- spec/unit/facts/base_spec.rb
|
179
|
+
- spec/unit/facts_spec.rb
|
180
|
+
- spec/unit/generators/agent_generator_spec.rb
|
181
|
+
- spec/unit/generators/base_spec.rb
|
182
|
+
- spec/unit/generators/data_generator_spec.rb
|
183
|
+
- spec/unit/generators/snippets/agent_ddl
|
184
|
+
- spec/unit/generators/snippets/data_ddl
|
185
|
+
- spec/unit/log_spec.rb
|
199
186
|
- spec/unit/logger/base_spec.rb
|
200
187
|
- spec/unit/logger/console_logger_spec.rb
|
201
188
|
- spec/unit/logger/file_logger_spec.rb
|
202
189
|
- spec/unit/logger/syslog_logger_spec.rb
|
203
|
-
- spec/unit/
|
204
|
-
- spec/unit/
|
205
|
-
- spec/unit/
|
206
|
-
- spec/unit/
|
207
|
-
- spec/unit/
|
208
|
-
- spec/unit/
|
209
|
-
- spec/unit/
|
210
|
-
- spec/unit/
|
211
|
-
- spec/unit/
|
212
|
-
- spec/unit/
|
213
|
-
- spec/unit/plugins/mcollective/
|
190
|
+
- spec/unit/matcher/parser_spec.rb
|
191
|
+
- spec/unit/matcher/scanner_spec.rb
|
192
|
+
- spec/unit/matcher_spec.rb
|
193
|
+
- spec/unit/message_spec.rb
|
194
|
+
- spec/unit/monkey_patches_spec.rb
|
195
|
+
- spec/unit/optionparser_spec.rb
|
196
|
+
- spec/unit/pluginmanager_spec.rb
|
197
|
+
- spec/unit/pluginpackager/agent_definition_spec.rb
|
198
|
+
- spec/unit/pluginpackager/standard_definition_spec.rb
|
199
|
+
- spec/unit/pluginpackager_spec.rb
|
200
|
+
- spec/unit/plugins/mcollective/agent/rpcutil_spec.rb
|
214
201
|
- spec/unit/plugins/mcollective/aggregate/average_spec.rb
|
215
202
|
- spec/unit/plugins/mcollective/aggregate/sum_spec.rb
|
216
203
|
- spec/unit/plugins/mcollective/aggregate/summary_spec.rb
|
204
|
+
- spec/unit/plugins/mcollective/application/plugin_spec.rb
|
217
205
|
- spec/unit/plugins/mcollective/audit/logfile_spec.rb
|
218
|
-
- spec/unit/plugins/mcollective/
|
219
|
-
- spec/unit/plugins/mcollective/
|
220
|
-
- spec/unit/plugins/mcollective/discovery/mc_spec.rb
|
206
|
+
- spec/unit/plugins/mcollective/connector/activemq_spec.rb
|
207
|
+
- spec/unit/plugins/mcollective/connector/rabbitmq_spec.rb
|
221
208
|
- spec/unit/plugins/mcollective/data/agent_data_spec.rb
|
222
|
-
- spec/unit/plugins/mcollective/data/
|
209
|
+
- spec/unit/plugins/mcollective/data/collective_data_spec.rb
|
223
210
|
- spec/unit/plugins/mcollective/data/fact_data_spec.rb
|
224
|
-
- spec/unit/plugins/mcollective/
|
211
|
+
- spec/unit/plugins/mcollective/data/fstat_data_spec.rb
|
212
|
+
- spec/unit/plugins/mcollective/discovery/flatfile_spec.rb
|
213
|
+
- spec/unit/plugins/mcollective/discovery/mc_spec.rb
|
214
|
+
- spec/unit/plugins/mcollective/discovery/stdin_spec.rb
|
215
|
+
- spec/unit/plugins/mcollective/facts/yaml_facts_spec.rb
|
225
216
|
- spec/unit/plugins/mcollective/packagers/debpackage_packager_spec.rb
|
217
|
+
- spec/unit/plugins/mcollective/packagers/modulepackage_packager_spec.rb
|
226
218
|
- spec/unit/plugins/mcollective/packagers/ospackage_spec.rb
|
227
219
|
- spec/unit/plugins/mcollective/packagers/rpmpackage_packager_spec.rb
|
228
|
-
- spec/unit/plugins/mcollective/agent/rpcutil_spec.rb
|
229
|
-
- spec/unit/plugins/mcollective/connector/rabbitmq_spec.rb
|
230
|
-
- spec/unit/plugins/mcollective/connector/activemq_spec.rb
|
231
220
|
- spec/unit/plugins/mcollective/security/aes_security_spec.rb
|
232
221
|
- spec/unit/plugins/mcollective/security/psk_spec.rb
|
233
|
-
- spec/unit/
|
234
|
-
- spec/unit/
|
235
|
-
- spec/unit/
|
236
|
-
- spec/unit/
|
237
|
-
- spec/unit/
|
238
|
-
- spec/unit/
|
239
|
-
- spec/unit/
|
240
|
-
- spec/unit/
|
241
|
-
- spec/unit/
|
242
|
-
- spec/unit/
|
243
|
-
- spec/unit/
|
244
|
-
- spec/unit/
|
245
|
-
- spec/unit/
|
246
|
-
- spec/unit/
|
247
|
-
- spec/unit/
|
248
|
-
- spec/unit/
|
249
|
-
- spec/unit/agents_spec.rb
|
250
|
-
- spec/unit/monkey_patches_spec.rb
|
251
|
-
- spec/unit/unix_daemon_spec.rb
|
222
|
+
- spec/unit/plugins/mcollective/validator/array_validator_spec.rb
|
223
|
+
- spec/unit/plugins/mcollective/validator/ipv4address_validator_spec.rb
|
224
|
+
- spec/unit/plugins/mcollective/validator/ipv6address_validator_spec.rb
|
225
|
+
- spec/unit/plugins/mcollective/validator/length_validator_spec.rb
|
226
|
+
- spec/unit/plugins/mcollective/validator/regex_validator_spec.rb
|
227
|
+
- spec/unit/plugins/mcollective/validator/shellsafe_validator_spec.rb
|
228
|
+
- spec/unit/plugins/mcollective/validator/typecheck_validator_spec.rb
|
229
|
+
- spec/unit/registration/base_spec.rb
|
230
|
+
- spec/unit/rpc/actionrunner_spec.rb
|
231
|
+
- spec/unit/rpc/agent_spec.rb
|
232
|
+
- spec/unit/rpc/client_spec.rb
|
233
|
+
- spec/unit/rpc/helpers_spec.rb
|
234
|
+
- spec/unit/rpc/reply_spec.rb
|
235
|
+
- spec/unit/rpc/request_spec.rb
|
236
|
+
- spec/unit/rpc/result_spec.rb
|
237
|
+
- spec/unit/rpc/stats_spec.rb
|
252
238
|
- spec/unit/rpc_spec.rb
|
253
|
-
- spec/unit/
|
254
|
-
- spec/unit/
|
239
|
+
- spec/unit/runner_spec.rb
|
240
|
+
- spec/unit/runnerstats_spec.rb
|
255
241
|
- spec/unit/security/base_spec.rb
|
256
|
-
- spec/
|
242
|
+
- spec/unit/shell_spec.rb
|
243
|
+
- spec/unit/ssl_spec.rb
|
244
|
+
- spec/unit/string_spec.rb
|
245
|
+
- spec/unit/symbol_spec.rb
|
246
|
+
- spec/unit/unix_daemon_spec.rb
|
247
|
+
- spec/unit/util_spec.rb
|
248
|
+
- spec/unit/validator_spec.rb
|
249
|
+
- spec/unit/vendor_spec.rb
|
250
|
+
- spec/unit/windows_daemon_spec.rb
|
257
251
|
- spec/windows_spec.opts
|
258
252
|
homepage: https://docs.puppetlabs.com/mcollective/
|
259
253
|
licenses: []
|
254
|
+
metadata: {}
|
260
255
|
post_install_message:
|
261
256
|
rdoc_options:
|
262
257
|
- --line-numbers
|
@@ -275,132 +270,131 @@ rdoc_options:
|
|
275
270
|
require_paths:
|
276
271
|
- lib
|
277
272
|
required_ruby_version: !ruby/object:Gem::Requirement
|
278
|
-
none: false
|
279
273
|
requirements:
|
280
|
-
- -
|
274
|
+
- - '>='
|
281
275
|
- !ruby/object:Gem::Version
|
282
276
|
version: '0'
|
283
277
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
284
|
-
none: false
|
285
278
|
requirements:
|
286
|
-
- -
|
279
|
+
- - '>='
|
287
280
|
- !ruby/object:Gem::Version
|
288
281
|
version: '0'
|
289
282
|
requirements: []
|
290
283
|
rubyforge_project:
|
291
|
-
rubygems_version:
|
284
|
+
rubygems_version: 2.0.14
|
292
285
|
signing_key:
|
293
|
-
specification_version:
|
286
|
+
specification_version: 4
|
294
287
|
summary: Client libraries for the Mcollective Application Server
|
295
288
|
test_files:
|
296
|
-
- spec/
|
289
|
+
- spec/Rakefile
|
290
|
+
- spec/fixtures/application/test.rb
|
291
|
+
- spec/fixtures/test-cert.pem
|
292
|
+
- spec/fixtures/test-private.pem
|
293
|
+
- spec/fixtures/test-public.pem
|
297
294
|
- spec/fixtures/util/1.in
|
298
|
-
- spec/fixtures/util/4.in
|
299
295
|
- spec/fixtures/util/1.out
|
300
|
-
- spec/fixtures/util/3.in
|
301
|
-
- spec/fixtures/util/4.out
|
302
296
|
- spec/fixtures/util/2.in
|
303
297
|
- spec/fixtures/util/2.out
|
304
|
-
- spec/fixtures/
|
305
|
-
- spec/fixtures/
|
306
|
-
- spec/fixtures/
|
307
|
-
- spec/fixtures/
|
298
|
+
- spec/fixtures/util/3.in
|
299
|
+
- spec/fixtures/util/3.out
|
300
|
+
- spec/fixtures/util/4.in
|
301
|
+
- spec/fixtures/util/4.out
|
308
302
|
- spec/monkey_patches/instance_variable_defined.rb
|
309
303
|
- spec/spec.opts
|
310
|
-
- spec/
|
311
|
-
- spec/unit/
|
312
|
-
- spec/unit/runnerstats_spec.rb
|
313
|
-
- spec/unit/validator_spec.rb
|
314
|
-
- spec/unit/rpc/agent_spec.rb
|
315
|
-
- spec/unit/rpc/helpers_spec.rb
|
316
|
-
- spec/unit/rpc/stats_spec.rb
|
317
|
-
- spec/unit/rpc/actionrunner_spec.rb
|
318
|
-
- spec/unit/rpc/request_spec.rb
|
319
|
-
- spec/unit/rpc/result_spec.rb
|
320
|
-
- spec/unit/rpc/client_spec.rb
|
321
|
-
- spec/unit/rpc/reply_spec.rb
|
322
|
-
- spec/unit/facts/base_spec.rb
|
323
|
-
- spec/unit/vendor_spec.rb
|
324
|
-
- spec/unit/ssl_spec.rb
|
304
|
+
- spec/spec_helper.rb
|
305
|
+
- spec/unit/agents_spec.rb
|
325
306
|
- spec/unit/aggregate/base_spec.rb
|
326
307
|
- spec/unit/aggregate/result/base_spec.rb
|
327
308
|
- spec/unit/aggregate/result/collection_result_spec.rb
|
328
309
|
- spec/unit/aggregate/result/numeric_result_spec.rb
|
329
|
-
- spec/unit/
|
330
|
-
- spec/unit/
|
331
|
-
- spec/unit/config_spec.rb
|
310
|
+
- spec/unit/aggregate_spec.rb
|
311
|
+
- spec/unit/application_spec.rb
|
332
312
|
- spec/unit/applications_spec.rb
|
313
|
+
- spec/unit/array_spec.rb
|
333
314
|
- spec/unit/cache_spec.rb
|
334
|
-
- spec/unit/
|
335
|
-
- spec/unit/
|
336
|
-
- spec/unit/
|
337
|
-
- spec/unit/ddl_spec.rb
|
338
|
-
- spec/unit/log_spec.rb
|
339
|
-
- spec/unit/pluginmanager_spec.rb
|
340
|
-
- spec/unit/registration/base_spec.rb
|
315
|
+
- spec/unit/client_spec.rb
|
316
|
+
- spec/unit/config_spec.rb
|
317
|
+
- spec/unit/connector/base_spec.rb
|
341
318
|
- spec/unit/data/base_spec.rb
|
342
319
|
- spec/unit/data/result_spec.rb
|
320
|
+
- spec/unit/data_spec.rb
|
321
|
+
- spec/unit/ddl/agentddl_spec.rb
|
343
322
|
- spec/unit/ddl/base_spec.rb
|
344
323
|
- spec/unit/ddl/dataddl_spec.rb
|
345
324
|
- spec/unit/ddl/discoveryddl_spec.rb
|
346
|
-
- spec/unit/
|
325
|
+
- spec/unit/ddl_spec.rb
|
347
326
|
- spec/unit/discovery_spec.rb
|
327
|
+
- spec/unit/facts/base_spec.rb
|
328
|
+
- spec/unit/facts_spec.rb
|
329
|
+
- spec/unit/generators/agent_generator_spec.rb
|
330
|
+
- spec/unit/generators/base_spec.rb
|
331
|
+
- spec/unit/generators/data_generator_spec.rb
|
332
|
+
- spec/unit/generators/snippets/agent_ddl
|
333
|
+
- spec/unit/generators/snippets/data_ddl
|
334
|
+
- spec/unit/log_spec.rb
|
348
335
|
- spec/unit/logger/base_spec.rb
|
349
336
|
- spec/unit/logger/console_logger_spec.rb
|
350
337
|
- spec/unit/logger/file_logger_spec.rb
|
351
338
|
- spec/unit/logger/syslog_logger_spec.rb
|
352
|
-
- spec/unit/
|
353
|
-
- spec/unit/
|
354
|
-
- spec/unit/
|
355
|
-
- spec/unit/
|
356
|
-
- spec/unit/
|
357
|
-
- spec/unit/
|
358
|
-
- spec/unit/
|
359
|
-
- spec/unit/
|
360
|
-
- spec/unit/
|
361
|
-
- spec/unit/
|
362
|
-
- spec/unit/plugins/mcollective/
|
339
|
+
- spec/unit/matcher/parser_spec.rb
|
340
|
+
- spec/unit/matcher/scanner_spec.rb
|
341
|
+
- spec/unit/matcher_spec.rb
|
342
|
+
- spec/unit/message_spec.rb
|
343
|
+
- spec/unit/monkey_patches_spec.rb
|
344
|
+
- spec/unit/optionparser_spec.rb
|
345
|
+
- spec/unit/pluginmanager_spec.rb
|
346
|
+
- spec/unit/pluginpackager/agent_definition_spec.rb
|
347
|
+
- spec/unit/pluginpackager/standard_definition_spec.rb
|
348
|
+
- spec/unit/pluginpackager_spec.rb
|
349
|
+
- spec/unit/plugins/mcollective/agent/rpcutil_spec.rb
|
363
350
|
- spec/unit/plugins/mcollective/aggregate/average_spec.rb
|
364
351
|
- spec/unit/plugins/mcollective/aggregate/sum_spec.rb
|
365
352
|
- spec/unit/plugins/mcollective/aggregate/summary_spec.rb
|
353
|
+
- spec/unit/plugins/mcollective/application/plugin_spec.rb
|
366
354
|
- spec/unit/plugins/mcollective/audit/logfile_spec.rb
|
367
|
-
- spec/unit/plugins/mcollective/
|
368
|
-
- spec/unit/plugins/mcollective/
|
369
|
-
- spec/unit/plugins/mcollective/discovery/mc_spec.rb
|
355
|
+
- spec/unit/plugins/mcollective/connector/activemq_spec.rb
|
356
|
+
- spec/unit/plugins/mcollective/connector/rabbitmq_spec.rb
|
370
357
|
- spec/unit/plugins/mcollective/data/agent_data_spec.rb
|
371
|
-
- spec/unit/plugins/mcollective/data/
|
358
|
+
- spec/unit/plugins/mcollective/data/collective_data_spec.rb
|
372
359
|
- spec/unit/plugins/mcollective/data/fact_data_spec.rb
|
373
|
-
- spec/unit/plugins/mcollective/
|
360
|
+
- spec/unit/plugins/mcollective/data/fstat_data_spec.rb
|
361
|
+
- spec/unit/plugins/mcollective/discovery/flatfile_spec.rb
|
362
|
+
- spec/unit/plugins/mcollective/discovery/mc_spec.rb
|
363
|
+
- spec/unit/plugins/mcollective/discovery/stdin_spec.rb
|
364
|
+
- spec/unit/plugins/mcollective/facts/yaml_facts_spec.rb
|
374
365
|
- spec/unit/plugins/mcollective/packagers/debpackage_packager_spec.rb
|
366
|
+
- spec/unit/plugins/mcollective/packagers/modulepackage_packager_spec.rb
|
375
367
|
- spec/unit/plugins/mcollective/packagers/ospackage_spec.rb
|
376
368
|
- spec/unit/plugins/mcollective/packagers/rpmpackage_packager_spec.rb
|
377
|
-
- spec/unit/plugins/mcollective/agent/rpcutil_spec.rb
|
378
|
-
- spec/unit/plugins/mcollective/connector/rabbitmq_spec.rb
|
379
|
-
- spec/unit/plugins/mcollective/connector/activemq_spec.rb
|
380
369
|
- spec/unit/plugins/mcollective/security/aes_security_spec.rb
|
381
370
|
- spec/unit/plugins/mcollective/security/psk_spec.rb
|
382
|
-
- spec/unit/
|
383
|
-
- spec/unit/
|
384
|
-
- spec/unit/
|
385
|
-
- spec/unit/
|
386
|
-
- spec/unit/
|
387
|
-
- spec/unit/
|
388
|
-
- spec/unit/
|
389
|
-
- spec/unit/
|
390
|
-
- spec/unit/
|
391
|
-
- spec/unit/
|
392
|
-
- spec/unit/
|
393
|
-
- spec/unit/
|
394
|
-
- spec/unit/
|
395
|
-
- spec/unit/
|
396
|
-
- spec/unit/
|
397
|
-
- spec/unit/
|
398
|
-
- spec/unit/agents_spec.rb
|
399
|
-
- spec/unit/monkey_patches_spec.rb
|
400
|
-
- spec/unit/unix_daemon_spec.rb
|
371
|
+
- spec/unit/plugins/mcollective/validator/array_validator_spec.rb
|
372
|
+
- spec/unit/plugins/mcollective/validator/ipv4address_validator_spec.rb
|
373
|
+
- spec/unit/plugins/mcollective/validator/ipv6address_validator_spec.rb
|
374
|
+
- spec/unit/plugins/mcollective/validator/length_validator_spec.rb
|
375
|
+
- spec/unit/plugins/mcollective/validator/regex_validator_spec.rb
|
376
|
+
- spec/unit/plugins/mcollective/validator/shellsafe_validator_spec.rb
|
377
|
+
- spec/unit/plugins/mcollective/validator/typecheck_validator_spec.rb
|
378
|
+
- spec/unit/registration/base_spec.rb
|
379
|
+
- spec/unit/rpc/actionrunner_spec.rb
|
380
|
+
- spec/unit/rpc/agent_spec.rb
|
381
|
+
- spec/unit/rpc/client_spec.rb
|
382
|
+
- spec/unit/rpc/helpers_spec.rb
|
383
|
+
- spec/unit/rpc/reply_spec.rb
|
384
|
+
- spec/unit/rpc/request_spec.rb
|
385
|
+
- spec/unit/rpc/result_spec.rb
|
386
|
+
- spec/unit/rpc/stats_spec.rb
|
401
387
|
- spec/unit/rpc_spec.rb
|
402
|
-
- spec/unit/
|
403
|
-
- spec/unit/
|
388
|
+
- spec/unit/runner_spec.rb
|
389
|
+
- spec/unit/runnerstats_spec.rb
|
404
390
|
- spec/unit/security/base_spec.rb
|
405
|
-
- spec/
|
391
|
+
- spec/unit/shell_spec.rb
|
392
|
+
- spec/unit/ssl_spec.rb
|
393
|
+
- spec/unit/string_spec.rb
|
394
|
+
- spec/unit/symbol_spec.rb
|
395
|
+
- spec/unit/unix_daemon_spec.rb
|
396
|
+
- spec/unit/util_spec.rb
|
397
|
+
- spec/unit/validator_spec.rb
|
398
|
+
- spec/unit/vendor_spec.rb
|
399
|
+
- spec/unit/windows_daemon_spec.rb
|
406
400
|
- spec/windows_spec.opts
|