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