mcollective-client 2.5.3 → 2.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (41) hide show
  1. data/lib/mcollective.rb +1 -1
  2. data/lib/mcollective/application.rb +21 -6
  3. data/lib/mcollective/client.rb +7 -0
  4. data/lib/mcollective/config.rb +13 -1
  5. data/lib/mcollective/connector/base.rb +2 -0
  6. data/lib/mcollective/facts/base.rb +18 -5
  7. data/lib/mcollective/log.rb +7 -0
  8. data/lib/mcollective/logger/base.rb +12 -8
  9. data/lib/mcollective/logger/file_logger.rb +7 -0
  10. data/lib/mcollective/message.rb +1 -1
  11. data/lib/mcollective/optionparser.rb +4 -0
  12. data/lib/mcollective/registration/base.rb +24 -10
  13. data/lib/mcollective/rpc/agent.rb +7 -1
  14. data/lib/mcollective/rpc/client.rb +89 -35
  15. data/lib/mcollective/rpc/helpers.rb +8 -3
  16. data/lib/mcollective/rpc/result.rb +4 -0
  17. data/lib/mcollective/rpc/stats.rb +6 -2
  18. data/lib/mcollective/shell.rb +2 -0
  19. data/lib/mcollective/ssl.rb +5 -0
  20. data/lib/mcollective/util.rb +29 -1
  21. data/lib/mcollective/validator.rb +9 -4
  22. data/spec/spec_helper.rb +6 -0
  23. data/spec/unit/config_spec.rb +10 -0
  24. data/spec/unit/connector/base_spec.rb +28 -0
  25. data/spec/unit/facts/base_spec.rb +35 -0
  26. data/spec/unit/log_spec.rb +9 -0
  27. data/spec/unit/logger/base_spec.rb +12 -2
  28. data/spec/unit/logger/file_logger_spec.rb +82 -0
  29. data/spec/unit/plugins/mcollective/application/plugin_spec.rb +1 -0
  30. data/spec/unit/plugins/mcollective/connector/activemq_spec.rb +44 -17
  31. data/spec/unit/plugins/mcollective/connector/rabbitmq_spec.rb +20 -19
  32. data/spec/unit/plugins/mcollective/data/fact_data_spec.rb +92 -0
  33. data/spec/unit/registration/base_spec.rb +46 -0
  34. data/spec/unit/rpc/agent_spec.rb +37 -0
  35. data/spec/unit/rpc/client_spec.rb +68 -15
  36. data/spec/unit/rpc/result_spec.rb +21 -0
  37. data/spec/unit/runner_spec.rb +97 -19
  38. data/spec/unit/shell_spec.rb +5 -0
  39. data/spec/unit/ssl_spec.rb +5 -0
  40. data/spec/unit/util_spec.rb +163 -1
  41. metadata +215 -209
@@ -68,6 +68,27 @@ module MCollective
68
68
  JSON.load(result.to_json).should == {"agent" => "tester", "action" => "test", "statuscode" => 0, "statusmsg" => "OK", "sender" => "rspec", "data" => {"foo" => "bar", "bar" => "baz"}}
69
69
  end
70
70
  end
71
+
72
+ describe "#<=>" do
73
+ it "should implement the Combined Comparison operator based on sender name" do
74
+ result_a = Result.new("tester",
75
+ "test",
76
+ { :statuscode => 0,
77
+ :statusmsg => "OK",
78
+ :sender => "a_rspec",
79
+ :data => {}})
80
+ result_b = Result.new("tester",
81
+ "test",
82
+ { :statuscode => 0,
83
+ :statusmsg => "OK",
84
+ :sender => "b_rspec",
85
+ :data => {}})
86
+
87
+ (result_a <=> result_b).should == -1
88
+ (result_b <=> result_a).should == 1
89
+ (result_a <=> result_a).should == 0
90
+ end
91
+ end
71
92
  end
72
93
  end
73
94
  end
@@ -9,7 +9,7 @@ module MCollective
9
9
  c.stubs(:loadconfig)
10
10
  c.stubs(:configured).returns(true)
11
11
  c.stubs(:mode=)
12
- c.stubs(:direct_addressing).returns(true)
12
+ c.stubs(:direct_addressing).returns(false)
13
13
  c.stubs(:registerinterval).returns(1)
14
14
  c.stubs(:soft_shutdown).returns(false)
15
15
  c
@@ -50,6 +50,7 @@ module MCollective
50
50
  Util.stubs(:windows).returns(false)
51
51
  Signal.expects(:trap).with('USR1')
52
52
  Signal.expects(:trap).with('USR2')
53
+ Signal.expects(:trap).with('WINCH')
53
54
  Runner.new(nil)
54
55
  end
55
56
 
@@ -57,6 +58,7 @@ module MCollective
57
58
  Util.stubs(:windows?).returns(true)
58
59
  Signal.expects(:trap).with('USR1').never
59
60
  Signal.expects(:trap).with('USR2').never
61
+ Signal.expects(:trap).with('WINCH').never
60
62
 
61
63
  Util.expects(:setup_windows_sleeper)
62
64
  Runner.new(nil)
@@ -85,7 +87,6 @@ module MCollective
85
87
  let(:agent_thread) do
86
88
  at = mock
87
89
  at.stubs(:alive?).returns(true)
88
- at.expects(:join)
89
90
  at
90
91
  end
91
92
 
@@ -105,19 +106,13 @@ module MCollective
105
106
  runner.main_loop
106
107
  end
107
108
 
108
- it 'should not do a soft_shutdown on windows' do
109
- config.stubs(:soft_shutdown).returns(true)
110
- Util.stubs(:windows?).returns(true)
111
- Log.expects(:warn).with("soft_shutdown specified. This feature is not available on Windows. Shutting down normally.")
112
- runner.instance_variable_set(:@state, :stopping)
113
- runner.main_loop
114
- end
115
-
116
109
  it 'should do a soft_shutdown' do
117
110
  config.stubs(:soft_shutdown).returns(true)
118
111
  Util.stubs(:windows?).returns(false)
119
112
  runner.instance_variable_set(:@state, :stopping)
120
113
  runner.instance_variable_set(:@agent_threads, [agent_thread])
114
+ runner.expects(:soft_shutdown)
115
+ runner.expects(:stop_threads)
121
116
  runner.main_loop
122
117
  end
123
118
  end
@@ -206,8 +201,7 @@ module MCollective
206
201
  before :each do
207
202
  PluginManager.stubs(:[]).with("registration_plugin").returns(registration_agent)
208
203
  Data.stubs(:load_data_sources)
209
- Util.expects(:subscribe).twice
210
- Util.expects(:make_subscriptions).twice
204
+ Util.stubs(:subscribe_to_direct_addressing_queue)
211
205
  end
212
206
 
213
207
  it 'should receive a message and spawn an agent thread' do
@@ -217,20 +211,21 @@ module MCollective
217
211
  runner.send(:receiver_thread)
218
212
  end
219
213
 
220
- it 'should load agents before data plugins' do
221
- load_order = sequence('load_order')
222
- Agents.expects(:new).in_sequence(load_order)
223
- Data.expects(:load_data_sources).in_sequence(load_order)
214
+ it 'should subscribe to the direct addressing queue if direct_addressing is configured' do
224
215
  runner.expects(:receive).returns(request)
225
216
  runner.expects(:agentmsg).with(request)
217
+ config.stubs(:direct_addressing).returns(true)
218
+ Util.expects(:subscribe_to_direct_addressing_queue)
226
219
  runner.instance_variable_set(:@exit_receiver_thread, true)
227
220
  runner.send(:receiver_thread)
228
221
  end
229
222
 
230
- it 'should discard controller messages with an error message' do
223
+ it 'should load agents before data plugins' do
224
+ load_order = sequence('load_order')
225
+ Agents.expects(:new).in_sequence(load_order)
226
+ Data.expects(:load_data_sources).in_sequence(load_order)
231
227
  runner.expects(:receive).returns(request)
232
- request.stubs(:agent).returns("mcollective")
233
- Log.expects(:error).with("Received a control message, possibly via 'mco controller' but this has been deprecated and removed")
228
+ runner.expects(:agentmsg).with(request)
234
229
  runner.instance_variable_set(:@exit_receiver_thread, true)
235
230
  runner.send(:receiver_thread)
236
231
  end
@@ -259,5 +254,88 @@ module MCollective
259
254
  end
260
255
  end
261
256
  end
257
+
258
+ context "soft_shutdown" do
259
+ let(:runner) do
260
+ Runner.new(nil)
261
+ end
262
+
263
+ before(:each) do
264
+ config.stubs(:soft_shutdown).returns(true)
265
+ end
266
+
267
+ describe "#soft_shutdown" do
268
+ it "should not shutdown if the timeout is set and <= 0" do
269
+ config.stubs(:soft_shutdown_timeout).returns(0)
270
+ Log.expects(:warn).twice
271
+ runner.expects(:windows_soft_shutdown).never
272
+ runner.expects(:posix_soft_shutdown).never
273
+ runner.send(:soft_shutdown)
274
+ end
275
+
276
+ it "should call the windows soft_shutdown on Windows" do
277
+ config.stubs(:soft_shutdown_timeout).returns(1)
278
+ Util.stubs(:windows?).returns(true)
279
+ runner.expects(:windows_soft_shutdown)
280
+ runner.expects(:posix_soft_shutdown).never
281
+ runner.send(:soft_shutdown)
282
+ end
283
+
284
+ it "should call the posix soft_shutdown when not on windows" do
285
+ config.stubs(:soft_shutdown_timeout).returns(1)
286
+ Util.stubs(:windows?).returns(false)
287
+ runner.expects(:windows_soft_shutdown).never
288
+ runner.expects(:posix_soft_shutdown)
289
+ runner.send(:soft_shutdown)
290
+ end
291
+ end
292
+
293
+ describe "#windows_soft_shutdown" do
294
+ it "should not shutdown if no timeout is set" do
295
+ runner.expects(:shutdown_with_timeout).never
296
+ Log.expects(:warn).times(3)
297
+ runner.send(:windows_soft_shutdown, nil)
298
+ end
299
+
300
+ it "should shutdown in a timeout" do
301
+ runner.expects(:shutdown_with_timeout)
302
+ runner.send(:windows_soft_shutdown, 1)
303
+ end
304
+ end
305
+
306
+ describe "#posix_soft_shutdown" do
307
+ it "should shutdown without a timeout" do
308
+ runner.expects(:stop_agent_threads)
309
+ runner.send(:posix_soft_shutdown, nil)
310
+ end
311
+
312
+ it "should shutdown with a timeout" do
313
+ runner.expects(:shutdown_with_timeout)
314
+ runner.send(:posix_soft_shutdown, 1)
315
+ end
316
+ end
317
+
318
+ describe "#shutdown_with_timeout" do
319
+ it "should timeout if it can't stop agent threads in time" do
320
+ Timeout.expects(:timeout).with(1)
321
+ runner.send(:shutdown_with_timeout, 1)
322
+ end
323
+ end
324
+
325
+ describe "#stop_agent_threads" do
326
+ let(:agent_thread) do
327
+ at = mock
328
+ at.stubs(:alive?).returns(true)
329
+ at
330
+ end
331
+
332
+ it "should stop all agent threads" do
333
+ runner.instance_variable_set(:@agent_threads, [agent_thread])
334
+ Log.stubs(:debug)
335
+ agent_thread.expects(:join)
336
+ runner.send(:stop_agent_threads)
337
+ end
338
+ end
339
+ end
262
340
  end
263
341
  end
@@ -21,6 +21,11 @@ module MCollective
21
21
  s.environment.should == {"LC_ALL" => "TEST", "foo" => "bar"}
22
22
  end
23
23
 
24
+ it "should allow locale to be cleared" do
25
+ s = Shell.new("date", :environment => {"LC_ALL" => nil, "foo" => "bar"})
26
+ s.environment.should == {"foo" => "bar"}
27
+ end
28
+
24
29
  it "should set no environment when given nil" do
25
30
  s = Shell.new("date", :environment => nil)
26
31
  s.environment.should == {}
@@ -139,6 +139,11 @@ module MCollective
139
139
  @ssl.base64_decode("Zm9v").should == "foo"
140
140
  SSL.base64_decode("Zm9v").should == "foo"
141
141
  end
142
+
143
+ it 'should raise an error when decoding invalid base64' do
144
+ expect { @ssl.base64_decode('.') }.to raise_error ArgumentError
145
+ expect { SSL.base64_decode('.') }.to raise_error ArgumentError
146
+ end
142
147
  end
143
148
 
144
149
  describe "#aes_encrypt" do
@@ -2,10 +2,11 @@
2
2
 
3
3
  require 'spec_helper'
4
4
 
5
+ class MCollective::Connector::Stomp<MCollective::Connector::Base; end
6
+
5
7
  module MCollective
6
8
  describe Util do
7
9
  before do
8
- class MCollective::Connector::Stomp<MCollective::Connector::Base; end
9
10
 
10
11
  PluginManager.clear
11
12
  PluginManager << {:type => "connector_plugin", :class => MCollective::Connector::Stomp.new}
@@ -247,8 +248,135 @@ module MCollective
247
248
  Util.has_fact?("foo", "b", "!=").should == false
248
249
  Util.has_fact?("foo", "a", "!=").should == true
249
250
  end
251
+
252
+ context 'structured facts (array)' do
253
+ it "should handle regex in a backward compatible way" do
254
+ MCollective::Facts.expects("[]").with("foo").returns(["foo", "baz"]).times(6)
255
+ Util.has_fact?("foo", "foo", "=~").should == true
256
+ Util.has_fact?("foo", "/foo/", "=~").should == true
257
+ Util.has_fact?("foo", "foo", "=~").should == true
258
+ Util.has_fact?("foo", "bar", "=~").should == false
259
+ Util.has_fact?("foo", "/bar/", "=~").should == false
260
+ Util.has_fact?("foo", "bar", "=~").should == false
261
+ end
262
+
263
+ it "should evaluate equality" do
264
+ MCollective::Facts.expects("[]").with("foo").returns(["foo", "baz"]).twice
265
+ Util.has_fact?("foo", "foo", "==").should == true
266
+ Util.has_fact?("foo", "bar", "==").should == false
267
+ end
268
+
269
+ it "should handle numeric comparisons correctly" do
270
+ MCollective::Facts.expects("[]").with("foo").returns(["1"]).times(8)
271
+ Util.has_fact?("foo", "2", ">=").should == false
272
+ Util.has_fact?("foo", "1", ">=").should == true
273
+ Util.has_fact?("foo", "2", "<=").should == true
274
+ Util.has_fact?("foo", "1", "<=").should == true
275
+ Util.has_fact?("foo", "1", "<").should == false
276
+ Util.has_fact?("foo", "1", ">").should == false
277
+ Util.has_fact?("foo", "1", "!=").should == false
278
+ Util.has_fact?("foo", "2", "!=").should == true
279
+ end
280
+
281
+ it "should handle alphabetic comparisons correctly" do
282
+ MCollective::Facts.expects("[]").with("foo").returns(["b"]).times(8)
283
+ Util.has_fact?("foo", "c", ">=").should == false
284
+ Util.has_fact?("foo", "a", ">=").should == true
285
+ Util.has_fact?("foo", "a", "<=").should == false
286
+ Util.has_fact?("foo", "b", "<=").should == true
287
+ Util.has_fact?("foo", "b", "<").should == false
288
+ Util.has_fact?("foo", "b", ">").should == false
289
+ Util.has_fact?("foo", "b", "!=").should == false
290
+ Util.has_fact?("foo", "a", "!=").should == true
291
+ end
292
+ end
293
+
294
+ context 'structured facts (hash)' do
295
+ it "should handle regex in a backward compatible way" do
296
+ MCollective::Facts.expects("[]").with("foo").returns({"foo" => 1, "baz" => 2}).times(6)
297
+ Util.has_fact?("foo", "foo", "=~").should == true
298
+ Util.has_fact?("foo", "/foo/", "=~").should == true
299
+ Util.has_fact?("foo", "foo", "=~").should == true
300
+ Util.has_fact?("foo", "bar", "=~").should == false
301
+ Util.has_fact?("foo", "/bar/", "=~").should == false
302
+ Util.has_fact?("foo", "bar", "=~").should == false
303
+ end
304
+
305
+ it "should evaluate equality" do
306
+ MCollective::Facts.expects("[]").with("foo").returns({"foo" => 1, "baz" => 2}).twice
307
+ Util.has_fact?("foo", "foo", "==").should == true
308
+ Util.has_fact?("foo", "bar", "==").should == false
309
+ end
310
+
311
+ it "should handle numeric comparisons correctly" do
312
+ MCollective::Facts.expects("[]").with("foo").returns({"1" => "one"}).times(8)
313
+ Util.has_fact?("foo", "2", ">=").should == false
314
+ Util.has_fact?("foo", "1", ">=").should == true
315
+ Util.has_fact?("foo", "2", "<=").should == true
316
+ Util.has_fact?("foo", "1", "<=").should == true
317
+ Util.has_fact?("foo", "1", "<").should == false
318
+ Util.has_fact?("foo", "1", ">").should == false
319
+ Util.has_fact?("foo", "1", "!=").should == false
320
+ Util.has_fact?("foo", "2", "!=").should == true
321
+ end
322
+
323
+ it "should handle alphabetic comparisons correctly" do
324
+ MCollective::Facts.expects("[]").with("foo").returns({"b" => 2}).times(8)
325
+ Util.has_fact?("foo", "c", ">=").should == false
326
+ Util.has_fact?("foo", "a", ">=").should == true
327
+ Util.has_fact?("foo", "a", "<=").should == false
328
+ Util.has_fact?("foo", "b", "<=").should == true
329
+ Util.has_fact?("foo", "b", "<").should == false
330
+ Util.has_fact?("foo", "b", ">").should == false
331
+ Util.has_fact?("foo", "b", "!=").should == false
332
+ Util.has_fact?("foo", "a", "!=").should == true
333
+ end
334
+ end
335
+ end
336
+
337
+ describe 'test_fact_value' do
338
+ it "should handle regex in a backward compatible way" do
339
+ Util.send(:test_fact_value, "foo", "foo", "=~").should == true
340
+ Util.send(:test_fact_value, "foo", "/foo/", "=~").should == true
341
+ Util.send(:test_fact_value, "foo", "foo", "=~").should == true
342
+ Util.send(:test_fact_value, "foo", "bar", "=~").should == false
343
+ Util.send(:test_fact_value, "foo", "/bar/", "=~").should == false
344
+ Util.send(:test_fact_value, "foo", "bar", "=~").should == false
345
+ end
346
+
347
+ it "should evaluate equality" do
348
+ Util.send(:test_fact_value, "foo", "foo", "==").should == true
349
+ Util.send(:test_fact_value, "foo", "bar", "==").should == false
350
+ end
351
+
352
+ it "should handle numeric comparisons correctly" do
353
+ Util.send(:test_fact_value, "1", "2", ">=").should == false
354
+ Util.send(:test_fact_value, "1", "1", ">=").should == true
355
+ Util.send(:test_fact_value, "1", "2", "<=").should == true
356
+ Util.send(:test_fact_value, "1", "1", "<=").should == true
357
+ Util.send(:test_fact_value, "1", "1", "<").should == false
358
+ Util.send(:test_fact_value, "1", "1", ">").should == false
359
+ Util.send(:test_fact_value, "1", "1", "!=").should == false
360
+ Util.send(:test_fact_value, "1", "2", "!=").should == true
361
+ Util.send(:test_fact_value, "100", "2", ">").should == true
362
+ Util.send(:test_fact_value, "100", "2", ">=").should == true
363
+ Util.send(:test_fact_value, "100", "2", "<").should == false
364
+ Util.send(:test_fact_value, "100", "2", "<=").should == false
365
+ end
366
+
367
+ it "should handle alphabetic comparisons correctly" do
368
+ Util.send(:test_fact_value, "b", "c", ">=").should == false
369
+ Util.send(:test_fact_value, "b", "a", ">=").should == true
370
+ Util.send(:test_fact_value, "b", "a", "<=").should == false
371
+ Util.send(:test_fact_value, "b", "b", "<=").should == true
372
+ Util.send(:test_fact_value, "b", "b", "<").should == false
373
+ Util.send(:test_fact_value, "b", "b", ">").should == false
374
+ Util.send(:test_fact_value, "b", "b", "!=").should == false
375
+ Util.send(:test_fact_value, "b", "a", "!=").should == true
376
+ end
250
377
  end
251
378
 
379
+
252
380
  describe "#parse_fact_string" do
253
381
  it "should parse old style regex fact matches" do
254
382
  Util.parse_fact_string("foo=/bar/").should == {:fact => "foo", :value => "/bar/", :operator => "=~"}
@@ -529,5 +657,39 @@ module MCollective
529
657
 
530
658
  end
531
659
  end
660
+
661
+ describe "#field_size" do
662
+ context "when elements are smaller than min_size" do
663
+ it "should return min_size" do
664
+ Util.field_size(['abc', 'def']).should == 40
665
+ end
666
+ end
667
+
668
+ context "when elements are bigger than min_size" do
669
+ it "should return the size of the biggest element" do
670
+ Util.field_size(['abc', 'def'], 2).should == 3
671
+ end
672
+ end
673
+ end
674
+
675
+ describe "#field_number" do
676
+ context "when field size is smaller than max_size" do
677
+ it "should return field number" do
678
+ Util.field_number(30).should == 3
679
+ end
680
+ end
681
+
682
+ context "when field size is smaller than max_size" do
683
+ it "should return 1" do
684
+ Util.field_number(100).should == 1
685
+ end
686
+ end
687
+
688
+ context "when specifying max_size" do
689
+ it "should adapt to max_size" do
690
+ Util.field_number(30, 70).should == 2
691
+ end
692
+ end
693
+ end
532
694
  end
533
695
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mcollective-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.5.3
4
+ version: 2.6.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-07-14 00:00:00.000000000 Z
12
+ date: 2014-08-21 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: systemu
@@ -66,190 +66,193 @@ executables:
66
66
  extensions: []
67
67
  extra_rdoc_files: []
68
68
  files:
69
- - lib/mcollective.rb
70
- - lib/mcollective/agent.rb
71
- - lib/mcollective/agents.rb
72
- - lib/mcollective/aggregate.rb
73
- - lib/mcollective/aggregate/base.rb
74
- - lib/mcollective/aggregate/result.rb
75
- - lib/mcollective/aggregate/result/base.rb
69
+ - lib/mcollective/rpc.rb
70
+ - lib/mcollective/monkey_patches.rb
71
+ - lib/mcollective/connector.rb
72
+ - lib/mcollective/pluginmanager.rb
73
+ - lib/mcollective/client.rb
74
+ - lib/mcollective/rpc/helpers.rb
75
+ - lib/mcollective/rpc/client.rb
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
76
90
  - lib/mcollective/aggregate/result/collection_result.rb
77
91
  - 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
78
105
  - lib/mcollective/application.rb
79
- - lib/mcollective/applications.rb
106
+ - lib/mcollective/pluginpackager.rb
107
+ - lib/mcollective/facts.rb
108
+ - lib/mcollective/aggregate.rb
80
109
  - lib/mcollective/cache.rb
81
- - lib/mcollective/client.rb
82
- - lib/mcollective/config.rb
83
- - lib/mcollective/connector.rb
84
- - lib/mcollective/connector/base.rb
85
- - lib/mcollective/data.rb
86
- - lib/mcollective/data/base.rb
110
+ - lib/mcollective/exceptions.rb
111
+ - lib/mcollective/registration/base.rb
112
+ - lib/mcollective/applications.rb
113
+ - lib/mcollective/generators.rb
87
114
  - lib/mcollective/data/result.rb
88
- - lib/mcollective/ddl.rb
89
- - lib/mcollective/ddl/agentddl.rb
90
- - lib/mcollective/ddl/base.rb
115
+ - lib/mcollective/data/base.rb
91
116
  - lib/mcollective/ddl/dataddl.rb
92
117
  - lib/mcollective/ddl/discoveryddl.rb
93
118
  - 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
94
127
  - lib/mcollective/discovery.rb
95
- - lib/mcollective/exceptions.rb
96
- - lib/mcollective/facts.rb
97
- - lib/mcollective/facts/base.rb
98
- - lib/mcollective/generators.rb
128
+ - lib/mcollective/util.rb
129
+ - lib/mcollective/logger.rb
130
+ - lib/mcollective/pluginpackager/agent_definition.rb
131
+ - lib/mcollective/pluginpackager/standard_definition.rb
132
+ - lib/mcollective/agent.rb
133
+ - lib/mcollective/agents.rb
134
+ - lib/mcollective/ddl.rb
135
+ - lib/mcollective/connector/base.rb
99
136
  - lib/mcollective/generators/agent_generator.rb
100
- - lib/mcollective/generators/base.rb
101
- - lib/mcollective/generators/data_generator.rb
102
137
  - lib/mcollective/generators/templates/action_snippet.erb
103
- - lib/mcollective/generators/templates/data_input_snippet.erb
104
138
  - lib/mcollective/generators/templates/ddl.erb
139
+ - lib/mcollective/generators/templates/data_input_snippet.erb
105
140
  - lib/mcollective/generators/templates/plugin.erb
106
- - lib/mcollective/log.rb
107
- - lib/mcollective/logger.rb
108
- - lib/mcollective/logger/base.rb
109
- - lib/mcollective/logger/console_logger.rb
110
- - lib/mcollective/logger/file_logger.rb
111
- - lib/mcollective/logger/syslog_logger.rb
112
- - lib/mcollective/matcher.rb
113
- - lib/mcollective/matcher/parser.rb
114
- - lib/mcollective/matcher/scanner.rb
115
- - lib/mcollective/message.rb
116
- - lib/mcollective/monkey_patches.rb
117
- - lib/mcollective/optionparser.rb
118
- - lib/mcollective/pluginmanager.rb
119
- - lib/mcollective/pluginpackager.rb
120
- - lib/mcollective/pluginpackager/agent_definition.rb
121
- - lib/mcollective/pluginpackager/standard_definition.rb
122
- - lib/mcollective/registration.rb
123
- - lib/mcollective/registration/base.rb
124
- - lib/mcollective/rpc.rb
125
- - lib/mcollective/rpc/actionrunner.rb
126
- - lib/mcollective/rpc/agent.rb
127
- - lib/mcollective/rpc/audit.rb
128
- - lib/mcollective/rpc/client.rb
129
- - lib/mcollective/rpc/helpers.rb
130
- - lib/mcollective/rpc/progress.rb
131
- - lib/mcollective/rpc/reply.rb
132
- - lib/mcollective/rpc/request.rb
133
- - lib/mcollective/rpc/result.rb
134
- - lib/mcollective/rpc/stats.rb
135
- - lib/mcollective/runnerstats.rb
136
- - lib/mcollective/security.rb
137
- - lib/mcollective/security/base.rb
138
- - lib/mcollective/shell.rb
139
- - lib/mcollective/ssl.rb
140
- - lib/mcollective/unix_daemon.rb
141
- - lib/mcollective/util.rb
142
- - lib/mcollective/validator.rb
141
+ - lib/mcollective/generators/data_generator.rb
142
+ - lib/mcollective/generators/base.rb
143
143
  - lib/mcollective/vendor.rb
144
- - lib/mcollective/vendor/require_vendored.rb
145
- - lib/mcollective/windows_daemon.rb
144
+ - lib/mcollective/security/base.rb
145
+ - lib/mcollective.rb
146
146
  - bin/mco
147
- - spec/Rakefile
148
- - spec/fixtures/application/test.rb
149
- - spec/fixtures/test-cert.pem
150
- - spec/fixtures/test-private.pem
151
- - spec/fixtures/test-public.pem
147
+ - spec/fixtures/util/3.out
152
148
  - spec/fixtures/util/1.in
149
+ - spec/fixtures/util/4.in
153
150
  - spec/fixtures/util/1.out
154
- - spec/fixtures/util/2.in
155
- - spec/fixtures/util/2.out
156
151
  - spec/fixtures/util/3.in
157
- - spec/fixtures/util/3.out
158
- - spec/fixtures/util/4.in
159
152
  - spec/fixtures/util/4.out
153
+ - spec/fixtures/util/2.in
154
+ - spec/fixtures/util/2.out
155
+ - spec/fixtures/application/test.rb
156
+ - spec/fixtures/test-cert.pem
157
+ - spec/fixtures/test-public.pem
158
+ - spec/fixtures/test-private.pem
160
159
  - spec/monkey_patches/instance_variable_defined.rb
161
160
  - spec/spec.opts
162
- - spec/spec_helper.rb
163
- - spec/unit/agents_spec.rb
161
+ - spec/Rakefile
162
+ - spec/unit/application_spec.rb
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
164
176
  - spec/unit/aggregate/base_spec.rb
165
177
  - spec/unit/aggregate/result/base_spec.rb
166
178
  - spec/unit/aggregate/result/collection_result_spec.rb
167
179
  - spec/unit/aggregate/result/numeric_result_spec.rb
168
- - spec/unit/aggregate_spec.rb
169
- - spec/unit/application_spec.rb
180
+ - spec/unit/matcher_spec.rb
181
+ - spec/unit/windows_daemon_spec.rb
182
+ - spec/unit/config_spec.rb
170
183
  - spec/unit/applications_spec.rb
171
- - spec/unit/array_spec.rb
172
184
  - spec/unit/cache_spec.rb
173
- - spec/unit/client_spec.rb
174
- - spec/unit/config_spec.rb
185
+ - spec/unit/matcher/scanner_spec.rb
186
+ - spec/unit/matcher/parser_spec.rb
187
+ - spec/unit/string_spec.rb
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
175
192
  - spec/unit/data/base_spec.rb
176
193
  - spec/unit/data/result_spec.rb
177
- - spec/unit/data_spec.rb
178
- - spec/unit/ddl/agentddl_spec.rb
179
194
  - spec/unit/ddl/base_spec.rb
180
195
  - spec/unit/ddl/dataddl_spec.rb
181
196
  - spec/unit/ddl/discoveryddl_spec.rb
182
- - spec/unit/ddl_spec.rb
197
+ - spec/unit/ddl/agentddl_spec.rb
183
198
  - spec/unit/discovery_spec.rb
184
- - spec/unit/facts/base_spec.rb
185
- - spec/unit/facts_spec.rb
186
- - spec/unit/generators/agent_generator_spec.rb
187
- - spec/unit/generators/base_spec.rb
188
- - spec/unit/generators/data_generator_spec.rb
189
- - spec/unit/generators/snippets/agent_ddl
190
- - spec/unit/generators/snippets/data_ddl
191
- - spec/unit/log_spec.rb
192
199
  - spec/unit/logger/base_spec.rb
193
200
  - spec/unit/logger/console_logger_spec.rb
201
+ - spec/unit/logger/file_logger_spec.rb
194
202
  - spec/unit/logger/syslog_logger_spec.rb
195
- - spec/unit/matcher/parser_spec.rb
196
- - spec/unit/matcher/scanner_spec.rb
197
- - spec/unit/matcher_spec.rb
198
- - spec/unit/message_spec.rb
199
- - spec/unit/optionparser_spec.rb
200
- - spec/unit/pluginmanager_spec.rb
201
- - spec/unit/pluginpackager/agent_definition_spec.rb
202
- - spec/unit/pluginpackager/standard_definition_spec.rb
203
- - spec/unit/pluginpackager_spec.rb
204
- - spec/unit/plugins/mcollective/agent/rpcutil_spec.rb
203
+ - spec/unit/shell_spec.rb
204
+ - spec/unit/data_spec.rb
205
+ - spec/unit/plugins/mcollective/facts/yaml_facts_spec.rb
206
+ - spec/unit/plugins/mcollective/application/plugin_spec.rb
207
+ - spec/unit/plugins/mcollective/validator/ipv6address_validator_spec.rb
208
+ - spec/unit/plugins/mcollective/validator/ipv4address_validator_spec.rb
209
+ - spec/unit/plugins/mcollective/validator/regex_validator_spec.rb
210
+ - spec/unit/plugins/mcollective/validator/array_validator_spec.rb
211
+ - spec/unit/plugins/mcollective/validator/length_validator_spec.rb
212
+ - spec/unit/plugins/mcollective/validator/typecheck_validator_spec.rb
213
+ - spec/unit/plugins/mcollective/validator/shellsafe_validator_spec.rb
205
214
  - spec/unit/plugins/mcollective/aggregate/average_spec.rb
206
215
  - spec/unit/plugins/mcollective/aggregate/sum_spec.rb
207
216
  - spec/unit/plugins/mcollective/aggregate/summary_spec.rb
208
- - spec/unit/plugins/mcollective/application/plugin_spec.rb
209
217
  - spec/unit/plugins/mcollective/audit/logfile_spec.rb
210
- - spec/unit/plugins/mcollective/connector/activemq_spec.rb
211
- - spec/unit/plugins/mcollective/connector/rabbitmq_spec.rb
212
- - spec/unit/plugins/mcollective/data/agent_data_spec.rb
213
- - spec/unit/plugins/mcollective/data/fstat_data_spec.rb
214
218
  - spec/unit/plugins/mcollective/discovery/flatfile_spec.rb
215
- - spec/unit/plugins/mcollective/discovery/mc_spec.rb
216
219
  - spec/unit/plugins/mcollective/discovery/stdin_spec.rb
217
- - spec/unit/plugins/mcollective/facts/yaml_facts_spec.rb
218
- - spec/unit/plugins/mcollective/packagers/debpackage_packager_spec.rb
220
+ - spec/unit/plugins/mcollective/discovery/mc_spec.rb
221
+ - spec/unit/plugins/mcollective/data/agent_data_spec.rb
222
+ - spec/unit/plugins/mcollective/data/fstat_data_spec.rb
223
+ - spec/unit/plugins/mcollective/data/fact_data_spec.rb
219
224
  - spec/unit/plugins/mcollective/packagers/modulepackage_packager_spec.rb
225
+ - spec/unit/plugins/mcollective/packagers/debpackage_packager_spec.rb
220
226
  - spec/unit/plugins/mcollective/packagers/ospackage_spec.rb
221
227
  - 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
222
231
  - spec/unit/plugins/mcollective/security/aes_security_spec.rb
223
232
  - spec/unit/plugins/mcollective/security/psk_spec.rb
224
- - spec/unit/plugins/mcollective/validator/array_validator_spec.rb
225
- - spec/unit/plugins/mcollective/validator/ipv4address_validator_spec.rb
226
- - spec/unit/plugins/mcollective/validator/ipv6address_validator_spec.rb
227
- - spec/unit/plugins/mcollective/validator/length_validator_spec.rb
228
- - spec/unit/plugins/mcollective/validator/regex_validator_spec.rb
229
- - spec/unit/plugins/mcollective/validator/shellsafe_validator_spec.rb
230
- - spec/unit/plugins/mcollective/validator/typecheck_validator_spec.rb
231
- - spec/unit/registration/base_spec.rb
232
- - spec/unit/rpc/actionrunner_spec.rb
233
- - spec/unit/rpc/agent_spec.rb
234
- - spec/unit/rpc/client_spec.rb
235
- - spec/unit/rpc/helpers_spec.rb
236
- - spec/unit/rpc/reply_spec.rb
237
- - spec/unit/rpc/request_spec.rb
238
- - spec/unit/rpc/result_spec.rb
239
- - spec/unit/rpc/stats_spec.rb
240
- - spec/unit/rpc_spec.rb
233
+ - spec/unit/client_spec.rb
234
+ - spec/unit/pluginpackager/standard_definition_spec.rb
235
+ - spec/unit/pluginpackager/agent_definition_spec.rb
236
+ - spec/unit/aggregate_spec.rb
237
+ - spec/unit/array_spec.rb
238
+ - spec/unit/optionparser_spec.rb
239
+ - spec/unit/message_spec.rb
240
+ - spec/unit/pluginpackager_spec.rb
241
+ - spec/unit/connector/base_spec.rb
242
+ - spec/unit/generators/snippets/data_ddl
243
+ - spec/unit/generators/snippets/agent_ddl
244
+ - spec/unit/generators/base_spec.rb
245
+ - spec/unit/generators/data_generator_spec.rb
246
+ - spec/unit/generators/agent_generator_spec.rb
241
247
  - spec/unit/runner_spec.rb
242
- - spec/unit/runnerstats_spec.rb
243
- - spec/unit/security/base_spec.rb
244
- - spec/unit/shell_spec.rb
245
- - spec/unit/ssl_spec.rb
246
- - spec/unit/string_spec.rb
247
- - spec/unit/symbol_spec.rb
248
- - spec/unit/unix_daemon_spec.rb
249
248
  - spec/unit/util_spec.rb
250
- - spec/unit/validator_spec.rb
251
- - spec/unit/vendor_spec.rb
252
- - spec/unit/windows_daemon_spec.rb
249
+ - spec/unit/agents_spec.rb
250
+ - spec/unit/unix_daemon_spec.rb
251
+ - spec/unit/rpc_spec.rb
252
+ - spec/unit/facts_spec.rb
253
+ - spec/unit/symbol_spec.rb
254
+ - spec/unit/security/base_spec.rb
255
+ - spec/spec_helper.rb
253
256
  - spec/windows_spec.opts
254
257
  homepage: https://docs.puppetlabs.com/mcollective/
255
258
  licenses: []
@@ -289,110 +292,113 @@ signing_key:
289
292
  specification_version: 3
290
293
  summary: Client libraries for the Mcollective Application Server
291
294
  test_files:
292
- - spec/Rakefile
293
- - spec/fixtures/application/test.rb
294
- - spec/fixtures/test-cert.pem
295
- - spec/fixtures/test-private.pem
296
- - spec/fixtures/test-public.pem
295
+ - spec/fixtures/util/3.out
297
296
  - spec/fixtures/util/1.in
297
+ - spec/fixtures/util/4.in
298
298
  - spec/fixtures/util/1.out
299
- - spec/fixtures/util/2.in
300
- - spec/fixtures/util/2.out
301
299
  - spec/fixtures/util/3.in
302
- - spec/fixtures/util/3.out
303
- - spec/fixtures/util/4.in
304
300
  - spec/fixtures/util/4.out
301
+ - spec/fixtures/util/2.in
302
+ - spec/fixtures/util/2.out
303
+ - spec/fixtures/application/test.rb
304
+ - spec/fixtures/test-cert.pem
305
+ - spec/fixtures/test-public.pem
306
+ - spec/fixtures/test-private.pem
305
307
  - spec/monkey_patches/instance_variable_defined.rb
306
308
  - spec/spec.opts
307
- - spec/spec_helper.rb
308
- - spec/unit/agents_spec.rb
309
+ - spec/Rakefile
310
+ - spec/unit/application_spec.rb
311
+ - spec/unit/runnerstats_spec.rb
312
+ - spec/unit/validator_spec.rb
313
+ - spec/unit/rpc/agent_spec.rb
314
+ - spec/unit/rpc/helpers_spec.rb
315
+ - spec/unit/rpc/stats_spec.rb
316
+ - spec/unit/rpc/actionrunner_spec.rb
317
+ - spec/unit/rpc/request_spec.rb
318
+ - spec/unit/rpc/result_spec.rb
319
+ - spec/unit/rpc/client_spec.rb
320
+ - spec/unit/rpc/reply_spec.rb
321
+ - spec/unit/facts/base_spec.rb
322
+ - spec/unit/vendor_spec.rb
323
+ - spec/unit/ssl_spec.rb
309
324
  - spec/unit/aggregate/base_spec.rb
310
325
  - spec/unit/aggregate/result/base_spec.rb
311
326
  - spec/unit/aggregate/result/collection_result_spec.rb
312
327
  - spec/unit/aggregate/result/numeric_result_spec.rb
313
- - spec/unit/aggregate_spec.rb
314
- - spec/unit/application_spec.rb
328
+ - spec/unit/matcher_spec.rb
329
+ - spec/unit/windows_daemon_spec.rb
330
+ - spec/unit/config_spec.rb
315
331
  - spec/unit/applications_spec.rb
316
- - spec/unit/array_spec.rb
317
332
  - spec/unit/cache_spec.rb
318
- - spec/unit/client_spec.rb
319
- - spec/unit/config_spec.rb
333
+ - spec/unit/matcher/scanner_spec.rb
334
+ - spec/unit/matcher/parser_spec.rb
335
+ - spec/unit/string_spec.rb
336
+ - spec/unit/ddl_spec.rb
337
+ - spec/unit/log_spec.rb
338
+ - spec/unit/pluginmanager_spec.rb
339
+ - spec/unit/registration/base_spec.rb
320
340
  - spec/unit/data/base_spec.rb
321
341
  - spec/unit/data/result_spec.rb
322
- - spec/unit/data_spec.rb
323
- - spec/unit/ddl/agentddl_spec.rb
324
342
  - spec/unit/ddl/base_spec.rb
325
343
  - spec/unit/ddl/dataddl_spec.rb
326
344
  - spec/unit/ddl/discoveryddl_spec.rb
327
- - spec/unit/ddl_spec.rb
345
+ - spec/unit/ddl/agentddl_spec.rb
328
346
  - spec/unit/discovery_spec.rb
329
- - spec/unit/facts/base_spec.rb
330
- - spec/unit/facts_spec.rb
331
- - spec/unit/generators/agent_generator_spec.rb
332
- - spec/unit/generators/base_spec.rb
333
- - spec/unit/generators/data_generator_spec.rb
334
- - spec/unit/generators/snippets/agent_ddl
335
- - spec/unit/generators/snippets/data_ddl
336
- - spec/unit/log_spec.rb
337
347
  - spec/unit/logger/base_spec.rb
338
348
  - spec/unit/logger/console_logger_spec.rb
349
+ - spec/unit/logger/file_logger_spec.rb
339
350
  - spec/unit/logger/syslog_logger_spec.rb
340
- - spec/unit/matcher/parser_spec.rb
341
- - spec/unit/matcher/scanner_spec.rb
342
- - spec/unit/matcher_spec.rb
343
- - spec/unit/message_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
351
+ - spec/unit/shell_spec.rb
352
+ - spec/unit/data_spec.rb
353
+ - spec/unit/plugins/mcollective/facts/yaml_facts_spec.rb
354
+ - spec/unit/plugins/mcollective/application/plugin_spec.rb
355
+ - spec/unit/plugins/mcollective/validator/ipv6address_validator_spec.rb
356
+ - spec/unit/plugins/mcollective/validator/ipv4address_validator_spec.rb
357
+ - spec/unit/plugins/mcollective/validator/regex_validator_spec.rb
358
+ - spec/unit/plugins/mcollective/validator/array_validator_spec.rb
359
+ - spec/unit/plugins/mcollective/validator/length_validator_spec.rb
360
+ - spec/unit/plugins/mcollective/validator/typecheck_validator_spec.rb
361
+ - spec/unit/plugins/mcollective/validator/shellsafe_validator_spec.rb
350
362
  - spec/unit/plugins/mcollective/aggregate/average_spec.rb
351
363
  - spec/unit/plugins/mcollective/aggregate/sum_spec.rb
352
364
  - spec/unit/plugins/mcollective/aggregate/summary_spec.rb
353
- - spec/unit/plugins/mcollective/application/plugin_spec.rb
354
365
  - spec/unit/plugins/mcollective/audit/logfile_spec.rb
355
- - spec/unit/plugins/mcollective/connector/activemq_spec.rb
356
- - spec/unit/plugins/mcollective/connector/rabbitmq_spec.rb
357
- - spec/unit/plugins/mcollective/data/agent_data_spec.rb
358
- - spec/unit/plugins/mcollective/data/fstat_data_spec.rb
359
366
  - spec/unit/plugins/mcollective/discovery/flatfile_spec.rb
360
- - spec/unit/plugins/mcollective/discovery/mc_spec.rb
361
367
  - spec/unit/plugins/mcollective/discovery/stdin_spec.rb
362
- - spec/unit/plugins/mcollective/facts/yaml_facts_spec.rb
363
- - spec/unit/plugins/mcollective/packagers/debpackage_packager_spec.rb
368
+ - spec/unit/plugins/mcollective/discovery/mc_spec.rb
369
+ - spec/unit/plugins/mcollective/data/agent_data_spec.rb
370
+ - spec/unit/plugins/mcollective/data/fstat_data_spec.rb
371
+ - spec/unit/plugins/mcollective/data/fact_data_spec.rb
364
372
  - spec/unit/plugins/mcollective/packagers/modulepackage_packager_spec.rb
373
+ - spec/unit/plugins/mcollective/packagers/debpackage_packager_spec.rb
365
374
  - spec/unit/plugins/mcollective/packagers/ospackage_spec.rb
366
375
  - spec/unit/plugins/mcollective/packagers/rpmpackage_packager_spec.rb
376
+ - spec/unit/plugins/mcollective/agent/rpcutil_spec.rb
377
+ - spec/unit/plugins/mcollective/connector/rabbitmq_spec.rb
378
+ - spec/unit/plugins/mcollective/connector/activemq_spec.rb
367
379
  - spec/unit/plugins/mcollective/security/aes_security_spec.rb
368
380
  - spec/unit/plugins/mcollective/security/psk_spec.rb
369
- - spec/unit/plugins/mcollective/validator/array_validator_spec.rb
370
- - spec/unit/plugins/mcollective/validator/ipv4address_validator_spec.rb
371
- - spec/unit/plugins/mcollective/validator/ipv6address_validator_spec.rb
372
- - spec/unit/plugins/mcollective/validator/length_validator_spec.rb
373
- - spec/unit/plugins/mcollective/validator/regex_validator_spec.rb
374
- - spec/unit/plugins/mcollective/validator/shellsafe_validator_spec.rb
375
- - spec/unit/plugins/mcollective/validator/typecheck_validator_spec.rb
376
- - spec/unit/registration/base_spec.rb
377
- - spec/unit/rpc/actionrunner_spec.rb
378
- - spec/unit/rpc/agent_spec.rb
379
- - spec/unit/rpc/client_spec.rb
380
- - spec/unit/rpc/helpers_spec.rb
381
- - spec/unit/rpc/reply_spec.rb
382
- - spec/unit/rpc/request_spec.rb
383
- - spec/unit/rpc/result_spec.rb
384
- - spec/unit/rpc/stats_spec.rb
385
- - spec/unit/rpc_spec.rb
381
+ - spec/unit/client_spec.rb
382
+ - spec/unit/pluginpackager/standard_definition_spec.rb
383
+ - spec/unit/pluginpackager/agent_definition_spec.rb
384
+ - spec/unit/aggregate_spec.rb
385
+ - spec/unit/array_spec.rb
386
+ - spec/unit/optionparser_spec.rb
387
+ - spec/unit/message_spec.rb
388
+ - spec/unit/pluginpackager_spec.rb
389
+ - spec/unit/connector/base_spec.rb
390
+ - spec/unit/generators/snippets/data_ddl
391
+ - spec/unit/generators/snippets/agent_ddl
392
+ - spec/unit/generators/base_spec.rb
393
+ - spec/unit/generators/data_generator_spec.rb
394
+ - spec/unit/generators/agent_generator_spec.rb
386
395
  - spec/unit/runner_spec.rb
387
- - spec/unit/runnerstats_spec.rb
388
- - spec/unit/security/base_spec.rb
389
- - spec/unit/shell_spec.rb
390
- - spec/unit/ssl_spec.rb
391
- - spec/unit/string_spec.rb
392
- - spec/unit/symbol_spec.rb
393
- - spec/unit/unix_daemon_spec.rb
394
396
  - spec/unit/util_spec.rb
395
- - spec/unit/validator_spec.rb
396
- - spec/unit/vendor_spec.rb
397
- - spec/unit/windows_daemon_spec.rb
397
+ - spec/unit/agents_spec.rb
398
+ - spec/unit/unix_daemon_spec.rb
399
+ - spec/unit/rpc_spec.rb
400
+ - spec/unit/facts_spec.rb
401
+ - spec/unit/symbol_spec.rb
402
+ - spec/unit/security/base_spec.rb
403
+ - spec/spec_helper.rb
398
404
  - spec/windows_spec.opts