mcollective-client 2.11.1 → 2.11.2

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.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: f2b7d32621d660234445ce7b43bead4d621e75fb
4
+ data.tar.gz: 4d0ee4287132a8c69c4a60b800653fd608ffca2b
5
+ SHA512:
6
+ metadata.gz: c92a2572ea1be800b7ab7f730cc430b10d1a95563b9440979c256b4b82752b43d2fd7e5cef45a93221fc7292ab428d76a1e1e480c46702f1a7d7ac4d9d02dd4a
7
+ data.tar.gz: 431dc9c8c3849635c025aad1dc4362d7973db07c097f05816f7a37daa41b6e95d88ee2b209e15eaa0e4ce6c69745db6e3c186b12c9bbec6328da159c77446528
@@ -59,7 +59,7 @@ module MCollective
59
59
 
60
60
  MCollective::Vendor.load_vendored
61
61
 
62
- VERSION="2.11.1"
62
+ VERSION="2.11.2"
63
63
 
64
64
  def self.version
65
65
  VERSION
@@ -1000,9 +1000,9 @@ module MCollective
1000
1000
  result = rpc_result_from_reply(@agent, action, resp)
1001
1001
  aggregate = aggregate_reply(result, aggregate) if aggregate
1002
1002
 
1003
- if resp[:body][:statuscode] == 0 || resp[:body][:statuscode] == 1
1004
- @stats.ok if resp[:body][:statuscode] == 0
1005
- @stats.fail if resp[:body][:statuscode] == 1
1003
+ if result[:statuscode] == 0 || result[:statuscode] == 1
1004
+ @stats.ok if result[:statuscode] == 0
1005
+ @stats.fail if result[:statuscode] == 1
1006
1006
  else
1007
1007
  @stats.fail
1008
1008
  end
@@ -1020,8 +1020,8 @@ module MCollective
1020
1020
  result = rpc_result_from_reply(@agent, action, resp)
1021
1021
  aggregate = aggregate_reply(result, aggregate) if aggregate
1022
1022
 
1023
- @stats.ok if resp[:body][:statuscode] == 0
1024
- @stats.fail if resp[:body][:statuscode] != 0
1023
+ @stats.ok if result[:statuscode] == 0
1024
+ @stats.fail if result[:statuscode] != 0
1025
1025
  @stats.time_block_execution :start
1026
1026
 
1027
1027
  case block.arity
@@ -175,7 +175,6 @@ module MCollective
175
175
  it "should inform the stats object correctly for passed requests" do
176
176
  response = {:senderid => "rspec", :body => {:statuscode => 0}}
177
177
 
178
- @client.stubs(:rpc_result_from_reply).with("foo", "rspec", response)
179
178
  @client.stats.expects(:ok)
180
179
  @client.stats.expects(:node_responded).with("rspec")
181
180
  @client.stats.expects(:time_block_execution).with(:start)
@@ -194,7 +193,6 @@ module MCollective
194
193
  response = {:senderid => "rspec", :body => {:statuscode => 1}}
195
194
  blk = Proc.new {}
196
195
 
197
- @client.stubs(:rpc_result_from_reply).with("foo", "rspec", response)
198
196
  @client.process_results_with_block("rspec", response, blk, nil)
199
197
  end
200
198
 
@@ -202,7 +200,6 @@ module MCollective
202
200
  response = {:senderid => "rspec", :body => {:statuscode => 1}}
203
201
  blk = Proc.new {|r| r.should == response}
204
202
 
205
- @client.stubs(:rpc_result_from_reply).with("foo", "rspec", response)
206
203
  @client.process_results_with_block("rspec", response, blk, nil)
207
204
  end
208
205
 
@@ -220,7 +217,6 @@ module MCollective
220
217
  describe "#process_results_without_block" do
221
218
  it "should inform the stats object correctly for passed requests" do
222
219
  response = {:senderid => "rspec", :body => {:statuscode => 0}}
223
- @client.stubs(:rpc_result_from_reply).with("foo", "rspec", response)
224
220
  @client.stats.expects(:ok)
225
221
  @client.stats.expects(:node_responded).with("rspec")
226
222
  @client.process_results_without_block(response, "rspec", nil)
@@ -231,11 +227,9 @@ module MCollective
231
227
  @client.stats.expects(:node_responded).with("rspec").twice
232
228
 
233
229
  response = {:senderid => "rspec", :body => {:statuscode => 1}}
234
- @client.stubs(:rpc_result_from_reply).with("foo", "rspec", response)
235
230
  @client.process_results_without_block(response, "rspec", nil)
236
231
 
237
232
  response = {:senderid => "rspec", :body => {:statuscode => 3}}
238
- @client.stubs(:rpc_result_from_reply).with("foo", "rspec", response)
239
233
  @client.process_results_without_block(response, "rspec", nil)
240
234
  end
241
235
 
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.11.1
5
- prerelease:
4
+ version: 2.11.2
6
5
  platform: ruby
7
6
  authors:
8
7
  - Puppet Labs
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2017-07-18 00:00:00.000000000 Z
11
+ date: 2017-08-16 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,415 +59,414 @@ executables:
66
59
  extensions: []
67
60
  extra_rdoc_files: []
68
61
  files:
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/yaml_facts.rb
85
- - lib/mcollective/facts/base.rb
86
- - lib/mcollective/security.rb
87
- - lib/mcollective/log.rb
88
- - lib/mcollective/matcher.rb
89
- - lib/mcollective/unix_daemon.rb
90
- - lib/mcollective/application/rpc.rb
91
- - lib/mcollective/application/plugin.rb
92
- - lib/mcollective/application/ping.rb
93
- - lib/mcollective/application/completion.rb
94
- - lib/mcollective/application/describe_filter.rb
95
- - lib/mcollective/application/facts.rb
96
- - lib/mcollective/application/help.rb
97
- - lib/mcollective/application/inventory.rb
98
- - lib/mcollective/application/find.rb
99
- - lib/mcollective/validator/regex_validator.ddl
100
- - lib/mcollective/validator/typecheck_validator.ddl
101
- - lib/mcollective/validator/shellsafe_validator.ddl
102
- - lib/mcollective/validator/ipv6address_validator.ddl
103
- - lib/mcollective/validator/length_validator.ddl
104
- - lib/mcollective/validator/shellsafe_validator.rb
105
- - lib/mcollective/validator/ipv4address_validator.ddl
106
- - lib/mcollective/validator/ipv4address_validator.rb
107
- - lib/mcollective/validator/array_validator.ddl
108
- - lib/mcollective/validator/length_validator.rb
109
- - lib/mcollective/validator/regex_validator.rb
110
- - lib/mcollective/validator/ipv6address_validator.rb
111
- - lib/mcollective/validator/array_validator.rb
112
- - lib/mcollective/validator/typecheck_validator.rb
113
- - lib/mcollective/windows_daemon.rb
114
- - lib/mcollective/aggregate/sum.ddl
62
+ - bin/mco
63
+ - lib/mcollective.rb
64
+ - lib/mcollective/agent.rb
65
+ - lib/mcollective/agent/discovery.rb
66
+ - lib/mcollective/agent/rpcutil.ddl
67
+ - lib/mcollective/agent/rpcutil.rb
68
+ - lib/mcollective/agents.rb
69
+ - lib/mcollective/aggregate.rb
115
70
  - lib/mcollective/aggregate/average.ddl
116
- - lib/mcollective/aggregate/summary.ddl
71
+ - lib/mcollective/aggregate/average.rb
72
+ - lib/mcollective/aggregate/base.rb
73
+ - lib/mcollective/aggregate/result.rb
74
+ - lib/mcollective/aggregate/result/base.rb
117
75
  - lib/mcollective/aggregate/result/collection_result.rb
118
76
  - lib/mcollective/aggregate/result/numeric_result.rb
119
- - lib/mcollective/aggregate/result/base.rb
77
+ - lib/mcollective/aggregate/sum.ddl
120
78
  - lib/mcollective/aggregate/sum.rb
121
- - lib/mcollective/aggregate/result.rb
122
- - lib/mcollective/aggregate/average.rb
79
+ - lib/mcollective/aggregate/summary.ddl
123
80
  - lib/mcollective/aggregate/summary.rb
124
- - lib/mcollective/aggregate/base.rb
125
- - lib/mcollective/optionparser.rb
126
- - lib/mcollective/ssl.rb
127
- - lib/mcollective/runnerstats.rb
128
- - lib/mcollective/shell.rb
129
- - lib/mcollective/validator.rb
130
- - lib/mcollective/vendor/require_vendored.rb
131
- - lib/mcollective/matcher/parser.rb
132
- - lib/mcollective/matcher/scanner.rb
133
- - lib/mcollective/audit/logfile.rb
134
- - lib/mcollective/config.rb
135
- - lib/mcollective/message.rb
136
81
  - lib/mcollective/application.rb
137
- - lib/mcollective/pluginpackager.rb
138
- - lib/mcollective/facts.rb
139
- - lib/mcollective/aggregate.rb
140
- - lib/mcollective/cache.rb
141
- - lib/mcollective/exceptions.rb
142
- - lib/mcollective/registration/agentlist.rb
143
- - lib/mcollective/registration/base.rb
144
- - lib/mcollective/discovery/mc.rb
145
- - lib/mcollective/discovery/mc.ddl
146
- - lib/mcollective/discovery/flatfile.ddl
147
- - lib/mcollective/discovery/stdin.ddl
148
- - lib/mcollective/discovery/stdin.rb
149
- - lib/mcollective/discovery/flatfile.rb
82
+ - lib/mcollective/application/completion.rb
83
+ - lib/mcollective/application/describe_filter.rb
84
+ - lib/mcollective/application/facts.rb
85
+ - lib/mcollective/application/find.rb
86
+ - lib/mcollective/application/help.rb
87
+ - lib/mcollective/application/inventory.rb
88
+ - lib/mcollective/application/ping.rb
89
+ - lib/mcollective/application/plugin.rb
90
+ - lib/mcollective/application/rpc.rb
150
91
  - lib/mcollective/applications.rb
151
- - lib/mcollective/generators.rb
152
- - lib/mcollective/data/fact_data.ddl
153
- - lib/mcollective/data/agent_data.rb
154
- - lib/mcollective/data/collective_data.rb
92
+ - lib/mcollective/audit/logfile.rb
93
+ - lib/mcollective/cache.rb
94
+ - lib/mcollective/client.rb
95
+ - lib/mcollective/config.rb
96
+ - lib/mcollective/connector.rb
97
+ - lib/mcollective/connector/activemq.ddl
98
+ - lib/mcollective/connector/activemq.rb
99
+ - lib/mcollective/connector/base.rb
100
+ - lib/mcollective/connector/rabbitmq.ddl
101
+ - lib/mcollective/connector/rabbitmq.rb
102
+ - lib/mcollective/data.rb
155
103
  - lib/mcollective/data/agent_data.ddl
156
- - lib/mcollective/data/result.rb
104
+ - lib/mcollective/data/agent_data.rb
105
+ - lib/mcollective/data/base.rb
157
106
  - lib/mcollective/data/collective_data.ddl
107
+ - lib/mcollective/data/collective_data.rb
108
+ - lib/mcollective/data/fact_data.ddl
158
109
  - lib/mcollective/data/fact_data.rb
159
110
  - lib/mcollective/data/fstat_data.ddl
160
111
  - lib/mcollective/data/fstat_data.rb
161
- - lib/mcollective/data/base.rb
112
+ - lib/mcollective/data/result.rb
113
+ - lib/mcollective/ddl.rb
114
+ - lib/mcollective/ddl/agentddl.rb
115
+ - lib/mcollective/ddl/base.rb
162
116
  - lib/mcollective/ddl/dataddl.rb
163
117
  - lib/mcollective/ddl/discoveryddl.rb
164
118
  - lib/mcollective/ddl/validatorddl.rb
165
- - lib/mcollective/ddl/agentddl.rb
166
- - lib/mcollective/ddl/base.rb
167
- - lib/mcollective/data.rb
168
- - lib/mcollective/logger/file_logger.rb
169
- - lib/mcollective/logger/console_logger.rb
170
- - lib/mcollective/logger/syslog_logger.rb
171
- - lib/mcollective/logger/base.rb
172
- - lib/mcollective/registration.rb
173
119
  - lib/mcollective/discovery.rb
174
- - lib/mcollective/util.rb
120
+ - lib/mcollective/discovery/flatfile.ddl
121
+ - lib/mcollective/discovery/flatfile.rb
122
+ - lib/mcollective/discovery/mc.ddl
123
+ - lib/mcollective/discovery/mc.rb
124
+ - lib/mcollective/discovery/stdin.ddl
125
+ - lib/mcollective/discovery/stdin.rb
126
+ - lib/mcollective/exceptions.rb
127
+ - lib/mcollective/facts.rb
128
+ - lib/mcollective/facts/base.rb
129
+ - lib/mcollective/facts/yaml_facts.rb
130
+ - lib/mcollective/generators.rb
131
+ - lib/mcollective/generators/agent_generator.rb
132
+ - lib/mcollective/generators/base.rb
133
+ - lib/mcollective/generators/data_generator.rb
134
+ - lib/mcollective/generators/templates/action_snippet.erb
135
+ - lib/mcollective/generators/templates/data_input_snippet.erb
136
+ - lib/mcollective/generators/templates/ddl.erb
137
+ - lib/mcollective/generators/templates/plugin.erb
138
+ - lib/mcollective/log.rb
175
139
  - lib/mcollective/logger.rb
140
+ - lib/mcollective/logger/base.rb
141
+ - lib/mcollective/logger/console_logger.rb
142
+ - lib/mcollective/logger/file_logger.rb
143
+ - lib/mcollective/logger/syslog_logger.rb
144
+ - lib/mcollective/matcher.rb
145
+ - lib/mcollective/matcher/parser.rb
146
+ - lib/mcollective/matcher/scanner.rb
147
+ - lib/mcollective/message.rb
148
+ - lib/mcollective/monkey_patches.rb
149
+ - lib/mcollective/optionparser.rb
150
+ - lib/mcollective/pluginmanager.rb
151
+ - lib/mcollective/pluginpackager.rb
176
152
  - lib/mcollective/pluginpackager/agent_definition.rb
153
+ - lib/mcollective/pluginpackager/debpackage_packager.rb
154
+ - lib/mcollective/pluginpackager/modulepackage_packager.rb
155
+ - lib/mcollective/pluginpackager/ospackage_packager.rb
156
+ - lib/mcollective/pluginpackager/rpmpackage_packager.rb
157
+ - lib/mcollective/pluginpackager/standard_definition.rb
158
+ - lib/mcollective/pluginpackager/templates/debian/Makefile.erb
159
+ - lib/mcollective/pluginpackager/templates/debian/changelog.erb
177
160
  - lib/mcollective/pluginpackager/templates/debian/compat.erb
178
161
  - lib/mcollective/pluginpackager/templates/debian/control.erb
179
- - lib/mcollective/pluginpackager/templates/debian/rules.erb
180
- - lib/mcollective/pluginpackager/templates/debian/changelog.erb
181
- - lib/mcollective/pluginpackager/templates/debian/Makefile.erb
182
162
  - lib/mcollective/pluginpackager/templates/debian/copyright.erb
163
+ - lib/mcollective/pluginpackager/templates/debian/rules.erb
164
+ - lib/mcollective/pluginpackager/templates/module/Modulefile.erb
183
165
  - lib/mcollective/pluginpackager/templates/module/README.md.erb
184
166
  - lib/mcollective/pluginpackager/templates/module/_manifest.pp.erb
185
- - lib/mcollective/pluginpackager/templates/module/Modulefile.erb
186
167
  - lib/mcollective/pluginpackager/templates/redhat/rpm_spec.erb
187
- - lib/mcollective/pluginpackager/standard_definition.rb
188
- - lib/mcollective/pluginpackager/rpmpackage_packager.rb
189
- - lib/mcollective/pluginpackager/debpackage_packager.rb
190
- - lib/mcollective/pluginpackager/ospackage_packager.rb
191
- - lib/mcollective/pluginpackager/modulepackage_packager.rb
192
- - lib/mcollective/agent.rb
193
- - lib/mcollective/agents.rb
194
- - lib/mcollective/agent/discovery.rb
195
- - lib/mcollective/agent/rpcutil.rb
196
- - lib/mcollective/agent/rpcutil.ddl
197
- - lib/mcollective/ddl.rb
198
- - lib/mcollective/connector/activemq.rb
199
- - lib/mcollective/connector/rabbitmq.rb
200
- - lib/mcollective/connector/rabbitmq.ddl
201
- - lib/mcollective/connector/activemq.ddl
202
- - lib/mcollective/connector/base.rb
203
- - lib/mcollective/generators/agent_generator.rb
204
- - lib/mcollective/generators/templates/action_snippet.erb
205
- - lib/mcollective/generators/templates/ddl.erb
206
- - lib/mcollective/generators/templates/data_input_snippet.erb
207
- - lib/mcollective/generators/templates/plugin.erb
208
- - lib/mcollective/generators/data_generator.rb
209
- - lib/mcollective/generators/base.rb
210
- - lib/mcollective/vendor.rb
211
- - lib/mcollective/security/ssl.rb
168
+ - lib/mcollective/registration.rb
169
+ - lib/mcollective/registration/agentlist.rb
170
+ - lib/mcollective/registration/base.rb
171
+ - lib/mcollective/rpc.rb
172
+ - lib/mcollective/rpc/actionrunner.rb
173
+ - lib/mcollective/rpc/agent.rb
174
+ - lib/mcollective/rpc/audit.rb
175
+ - lib/mcollective/rpc/client.rb
176
+ - lib/mcollective/rpc/helpers.rb
177
+ - lib/mcollective/rpc/progress.rb
178
+ - lib/mcollective/rpc/reply.rb
179
+ - lib/mcollective/rpc/request.rb
180
+ - lib/mcollective/rpc/result.rb
181
+ - lib/mcollective/rpc/stats.rb
182
+ - lib/mcollective/runnerstats.rb
183
+ - lib/mcollective/security.rb
212
184
  - lib/mcollective/security/aes_security.rb
213
- - lib/mcollective/security/psk.rb
214
185
  - lib/mcollective/security/base.rb
215
- - lib/mcollective.rb
216
- - bin/mco
217
- - spec/fixtures/util/3.out
186
+ - lib/mcollective/security/psk.rb
187
+ - lib/mcollective/security/ssl.rb
188
+ - lib/mcollective/shell.rb
189
+ - lib/mcollective/ssl.rb
190
+ - lib/mcollective/unix_daemon.rb
191
+ - lib/mcollective/util.rb
192
+ - lib/mcollective/validator.rb
193
+ - lib/mcollective/validator/array_validator.ddl
194
+ - lib/mcollective/validator/array_validator.rb
195
+ - lib/mcollective/validator/ipv4address_validator.ddl
196
+ - lib/mcollective/validator/ipv4address_validator.rb
197
+ - lib/mcollective/validator/ipv6address_validator.ddl
198
+ - lib/mcollective/validator/ipv6address_validator.rb
199
+ - lib/mcollective/validator/length_validator.ddl
200
+ - lib/mcollective/validator/length_validator.rb
201
+ - lib/mcollective/validator/regex_validator.ddl
202
+ - lib/mcollective/validator/regex_validator.rb
203
+ - lib/mcollective/validator/shellsafe_validator.ddl
204
+ - lib/mcollective/validator/shellsafe_validator.rb
205
+ - lib/mcollective/validator/typecheck_validator.ddl
206
+ - lib/mcollective/validator/typecheck_validator.rb
207
+ - lib/mcollective/vendor.rb
208
+ - lib/mcollective/vendor/require_vendored.rb
209
+ - lib/mcollective/windows_daemon.rb
210
+ - spec/Rakefile
211
+ - spec/fixtures/application/test.rb
212
+ - spec/fixtures/test-cert.pem
213
+ - spec/fixtures/test-private.pem
214
+ - spec/fixtures/test-public.pem
218
215
  - spec/fixtures/util/1.in
219
- - spec/fixtures/util/4.in
220
216
  - spec/fixtures/util/1.out
221
- - spec/fixtures/util/3.in
222
- - spec/fixtures/util/4.out
223
217
  - spec/fixtures/util/2.in
224
218
  - spec/fixtures/util/2.out
225
- - spec/fixtures/application/test.rb
226
- - spec/fixtures/test-cert.pem
227
- - spec/fixtures/test-public.pem
228
- - spec/fixtures/test-private.pem
219
+ - spec/fixtures/util/3.in
220
+ - spec/fixtures/util/3.out
221
+ - spec/fixtures/util/4.in
222
+ - spec/fixtures/util/4.out
229
223
  - spec/monkey_patches/instance_variable_defined.rb
230
224
  - spec/spec.opts
231
- - spec/Rakefile
232
- - spec/unit/mcollective/application_spec.rb
233
- - spec/unit/mcollective/runnerstats_spec.rb
234
- - spec/unit/mcollective/validator_spec.rb
235
- - spec/unit/mcollective/rpc/agent_spec.rb
236
- - spec/unit/mcollective/rpc/helpers_spec.rb
237
- - spec/unit/mcollective/rpc/stats_spec.rb
238
- - spec/unit/mcollective/rpc/actionrunner_spec.rb
239
- - spec/unit/mcollective/rpc/request_spec.rb
240
- - spec/unit/mcollective/rpc/result_spec.rb
241
- - spec/unit/mcollective/rpc/client_spec.rb
242
- - spec/unit/mcollective/rpc/reply_spec.rb
243
- - spec/unit/mcollective/facts/base_spec.rb
244
- - spec/unit/mcollective/facts/yaml_facts_spec.rb
245
- - spec/unit/mcollective/vendor_spec.rb
246
- - spec/unit/mcollective/ssl_spec.rb
247
- - spec/unit/mcollective/application/plugin_spec.rb
248
- - spec/unit/mcollective/validator/ipv6address_validator_spec.rb
249
- - spec/unit/mcollective/validator/ipv4address_validator_spec.rb
250
- - spec/unit/mcollective/validator/regex_validator_spec.rb
251
- - spec/unit/mcollective/validator/array_validator_spec.rb
252
- - spec/unit/mcollective/validator/length_validator_spec.rb
253
- - spec/unit/mcollective/validator/typecheck_validator_spec.rb
254
- - spec/unit/mcollective/validator/shellsafe_validator_spec.rb
255
- - spec/unit/mcollective/aggregate/base_spec.rb
225
+ - spec/spec_helper.rb
226
+ - spec/unit/mcollective/agent/rpcutil_spec.rb
227
+ - spec/unit/mcollective/agents_spec.rb
256
228
  - spec/unit/mcollective/aggregate/average_spec.rb
229
+ - spec/unit/mcollective/aggregate/base_spec.rb
257
230
  - spec/unit/mcollective/aggregate/result/base_spec.rb
258
231
  - spec/unit/mcollective/aggregate/result/collection_result_spec.rb
259
232
  - spec/unit/mcollective/aggregate/result/numeric_result_spec.rb
260
233
  - spec/unit/mcollective/aggregate/sum_spec.rb
261
234
  - spec/unit/mcollective/aggregate/summary_spec.rb
262
- - spec/unit/mcollective/matcher_spec.rb
263
- - spec/unit/mcollective/windows_daemon_spec.rb
264
- - spec/unit/mcollective/config_spec.rb
265
- - spec/unit/mcollective/applications_spec.rb
266
- - spec/unit/mcollective/cache_spec.rb
267
- - spec/unit/mcollective/matcher/scanner_spec.rb
268
- - spec/unit/mcollective/matcher/parser_spec.rb
269
- - spec/unit/mcollective/audit/logfile_spec.rb
270
- - spec/unit/mcollective/string_spec.rb
271
- - spec/unit/mcollective/ddl_spec.rb
272
- - spec/unit/mcollective/log_spec.rb
273
- - spec/unit/mcollective/pluginmanager_spec.rb
274
- - spec/unit/mcollective/registration/base_spec.rb
275
- - spec/unit/mcollective/discovery/flatfile_spec.rb
276
- - spec/unit/mcollective/discovery/stdin_spec.rb
277
- - spec/unit/mcollective/discovery/mc_spec.rb
278
- - spec/unit/mcollective/data/collective_data_spec.rb
279
- - spec/unit/mcollective/data/base_spec.rb
235
+ - spec/unit/mcollective/aggregate_spec.rb
236
+ - spec/unit/mcollective/application/plugin_spec.rb
237
+ - spec/unit/mcollective/application_spec.rb
238
+ - spec/unit/mcollective/applications_spec.rb
239
+ - spec/unit/mcollective/array_spec.rb
240
+ - spec/unit/mcollective/audit/logfile_spec.rb
241
+ - spec/unit/mcollective/cache_spec.rb
242
+ - spec/unit/mcollective/client_spec.rb
243
+ - spec/unit/mcollective/config_spec.rb
244
+ - spec/unit/mcollective/connector/activemq_spec.rb
245
+ - spec/unit/mcollective/connector/base_spec.rb
246
+ - spec/unit/mcollective/connector/rabbitmq_spec.rb
280
247
  - spec/unit/mcollective/data/agent_data_spec.rb
281
- - spec/unit/mcollective/data/result_spec.rb
282
- - spec/unit/mcollective/data/fstat_data_spec.rb
248
+ - spec/unit/mcollective/data/base_spec.rb
249
+ - spec/unit/mcollective/data/collective_data_spec.rb
283
250
  - spec/unit/mcollective/data/fact_data_spec.rb
251
+ - spec/unit/mcollective/data/fstat_data_spec.rb
252
+ - spec/unit/mcollective/data/result_spec.rb
253
+ - spec/unit/mcollective/data_spec.rb
254
+ - spec/unit/mcollective/ddl/agentddl_spec.rb
284
255
  - spec/unit/mcollective/ddl/base_spec.rb
285
256
  - spec/unit/mcollective/ddl/dataddl_spec.rb
286
257
  - spec/unit/mcollective/ddl/discoveryddl_spec.rb
287
- - spec/unit/mcollective/ddl/agentddl_spec.rb
258
+ - spec/unit/mcollective/ddl_spec.rb
259
+ - spec/unit/mcollective/discovery/flatfile_spec.rb
260
+ - spec/unit/mcollective/discovery/mc_spec.rb
261
+ - spec/unit/mcollective/discovery/stdin_spec.rb
288
262
  - spec/unit/mcollective/discovery_spec.rb
263
+ - spec/unit/mcollective/facts/base_spec.rb
264
+ - spec/unit/mcollective/facts/yaml_facts_spec.rb
265
+ - spec/unit/mcollective/facts_spec.rb
266
+ - spec/unit/mcollective/generators/agent_generator_spec.rb
267
+ - spec/unit/mcollective/generators/base_spec.rb
268
+ - spec/unit/mcollective/generators/data_generator_spec.rb
269
+ - spec/unit/mcollective/generators/snippets/agent_ddl
270
+ - spec/unit/mcollective/generators/snippets/data_ddl
271
+ - spec/unit/mcollective/log_spec.rb
289
272
  - spec/unit/mcollective/logger/base_spec.rb
290
273
  - spec/unit/mcollective/logger/console_logger_spec.rb
291
274
  - spec/unit/mcollective/logger/file_logger_spec.rb
292
275
  - spec/unit/mcollective/logger/syslog_logger_spec.rb
293
- - spec/unit/mcollective/shell_spec.rb
294
- - spec/unit/mcollective/data_spec.rb
295
- - spec/unit/mcollective/packagers/modulepackage_packager_spec.rb
276
+ - spec/unit/mcollective/matcher/parser_spec.rb
277
+ - spec/unit/mcollective/matcher/scanner_spec.rb
278
+ - spec/unit/mcollective/matcher_spec.rb
279
+ - spec/unit/mcollective/message_spec.rb
280
+ - spec/unit/mcollective/monkey_patches_spec.rb
281
+ - spec/unit/mcollective/optionparser_spec.rb
296
282
  - spec/unit/mcollective/packagers/debpackage_packager_spec.rb
283
+ - spec/unit/mcollective/packagers/modulepackage_packager_spec.rb
297
284
  - spec/unit/mcollective/packagers/ospackage_spec.rb
298
285
  - spec/unit/mcollective/packagers/rpmpackage_packager_spec.rb
299
- - spec/unit/mcollective/client_spec.rb
300
- - spec/unit/mcollective/pluginpackager/standard_definition_spec.rb
286
+ - spec/unit/mcollective/pluginmanager_spec.rb
301
287
  - spec/unit/mcollective/pluginpackager/agent_definition_spec.rb
302
- - spec/unit/mcollective/agent/rpcutil_spec.rb
303
- - spec/unit/mcollective/aggregate_spec.rb
304
- - spec/unit/mcollective/array_spec.rb
305
- - spec/unit/mcollective/optionparser_spec.rb
306
- - spec/unit/mcollective/message_spec.rb
288
+ - spec/unit/mcollective/pluginpackager/standard_definition_spec.rb
307
289
  - spec/unit/mcollective/pluginpackager_spec.rb
308
- - spec/unit/mcollective/connector/rabbitmq_spec.rb
309
- - spec/unit/mcollective/connector/base_spec.rb
310
- - spec/unit/mcollective/connector/activemq_spec.rb
311
- - spec/unit/mcollective/generators/snippets/data_ddl
312
- - spec/unit/mcollective/generators/snippets/agent_ddl
313
- - spec/unit/mcollective/generators/base_spec.rb
314
- - spec/unit/mcollective/generators/data_generator_spec.rb
315
- - spec/unit/mcollective/generators/agent_generator_spec.rb
316
- - spec/unit/mcollective/runner_spec.rb
317
- - spec/unit/mcollective/util_spec.rb
318
- - spec/unit/mcollective/agents_spec.rb
319
- - spec/unit/mcollective/monkey_patches_spec.rb
320
- - spec/unit/mcollective/unix_daemon_spec.rb
290
+ - spec/unit/mcollective/registration/base_spec.rb
291
+ - spec/unit/mcollective/rpc/actionrunner_spec.rb
292
+ - spec/unit/mcollective/rpc/agent_spec.rb
293
+ - spec/unit/mcollective/rpc/client_spec.rb
294
+ - spec/unit/mcollective/rpc/helpers_spec.rb
295
+ - spec/unit/mcollective/rpc/reply_spec.rb
296
+ - spec/unit/mcollective/rpc/request_spec.rb
297
+ - spec/unit/mcollective/rpc/result_spec.rb
298
+ - spec/unit/mcollective/rpc/stats_spec.rb
321
299
  - spec/unit/mcollective/rpc_spec.rb
322
- - spec/unit/mcollective/facts_spec.rb
323
- - spec/unit/mcollective/symbol_spec.rb
300
+ - spec/unit/mcollective/runner_spec.rb
301
+ - spec/unit/mcollective/runnerstats_spec.rb
324
302
  - spec/unit/mcollective/security/aes_security_spec.rb
325
- - spec/unit/mcollective/security/ssl_spec.rb
326
303
  - spec/unit/mcollective/security/base_spec.rb
327
304
  - spec/unit/mcollective/security/psk_spec.rb
328
- - spec/spec_helper.rb
305
+ - spec/unit/mcollective/security/ssl_spec.rb
306
+ - spec/unit/mcollective/shell_spec.rb
307
+ - spec/unit/mcollective/ssl_spec.rb
308
+ - spec/unit/mcollective/string_spec.rb
309
+ - spec/unit/mcollective/symbol_spec.rb
310
+ - spec/unit/mcollective/unix_daemon_spec.rb
311
+ - spec/unit/mcollective/util_spec.rb
312
+ - spec/unit/mcollective/validator/array_validator_spec.rb
313
+ - spec/unit/mcollective/validator/ipv4address_validator_spec.rb
314
+ - spec/unit/mcollective/validator/ipv6address_validator_spec.rb
315
+ - spec/unit/mcollective/validator/length_validator_spec.rb
316
+ - spec/unit/mcollective/validator/regex_validator_spec.rb
317
+ - spec/unit/mcollective/validator/shellsafe_validator_spec.rb
318
+ - spec/unit/mcollective/validator/typecheck_validator_spec.rb
319
+ - spec/unit/mcollective/validator_spec.rb
320
+ - spec/unit/mcollective/vendor_spec.rb
321
+ - spec/unit/mcollective/windows_daemon_spec.rb
329
322
  - spec/windows_spec.opts
330
323
  homepage: https://docs.puppetlabs.com/mcollective/
331
324
  licenses: []
325
+ metadata: {}
332
326
  post_install_message:
333
327
  rdoc_options:
334
- - --line-numbers
335
- - --main
328
+ - "--line-numbers"
329
+ - "--main"
336
330
  - Mcollective
337
- - --exclude
331
+ - "--exclude"
338
332
  - mcollective/vendor
339
- - --exclude
333
+ - "--exclude"
340
334
  - spec
341
- - --exclude
335
+ - "--exclude"
342
336
  - ext
343
- - --exclude
337
+ - "--exclude"
344
338
  - website
345
- - --exclude
339
+ - "--exclude"
346
340
  - plugins
347
341
  require_paths:
348
342
  - lib
349
343
  required_ruby_version: !ruby/object:Gem::Requirement
350
- none: false
351
344
  requirements:
352
- - - ! '>='
345
+ - - ">="
353
346
  - !ruby/object:Gem::Version
354
347
  version: '0'
355
348
  required_rubygems_version: !ruby/object:Gem::Requirement
356
- none: false
357
349
  requirements:
358
- - - ! '>='
350
+ - - ">="
359
351
  - !ruby/object:Gem::Version
360
352
  version: '0'
361
353
  requirements: []
362
354
  rubyforge_project:
363
- rubygems_version: 1.8.23
355
+ rubygems_version: 2.4.8
364
356
  signing_key:
365
- specification_version: 3
357
+ specification_version: 4
366
358
  summary: Client libraries for the Mcollective Application Server
367
359
  test_files:
368
- - spec/fixtures/util/3.out
360
+ - spec/Rakefile
361
+ - spec/fixtures/application/test.rb
362
+ - spec/fixtures/test-cert.pem
363
+ - spec/fixtures/test-private.pem
364
+ - spec/fixtures/test-public.pem
369
365
  - spec/fixtures/util/1.in
370
- - spec/fixtures/util/4.in
371
366
  - spec/fixtures/util/1.out
372
- - spec/fixtures/util/3.in
373
- - spec/fixtures/util/4.out
374
367
  - spec/fixtures/util/2.in
375
368
  - spec/fixtures/util/2.out
376
- - spec/fixtures/application/test.rb
377
- - spec/fixtures/test-cert.pem
378
- - spec/fixtures/test-public.pem
379
- - spec/fixtures/test-private.pem
369
+ - spec/fixtures/util/3.in
370
+ - spec/fixtures/util/3.out
371
+ - spec/fixtures/util/4.in
372
+ - spec/fixtures/util/4.out
380
373
  - spec/monkey_patches/instance_variable_defined.rb
381
374
  - spec/spec.opts
382
- - spec/Rakefile
383
- - spec/unit/mcollective/application_spec.rb
384
- - spec/unit/mcollective/runnerstats_spec.rb
385
- - spec/unit/mcollective/validator_spec.rb
386
- - spec/unit/mcollective/rpc/agent_spec.rb
387
- - spec/unit/mcollective/rpc/helpers_spec.rb
388
- - spec/unit/mcollective/rpc/stats_spec.rb
389
- - spec/unit/mcollective/rpc/actionrunner_spec.rb
390
- - spec/unit/mcollective/rpc/request_spec.rb
391
- - spec/unit/mcollective/rpc/result_spec.rb
392
- - spec/unit/mcollective/rpc/client_spec.rb
393
- - spec/unit/mcollective/rpc/reply_spec.rb
394
- - spec/unit/mcollective/facts/base_spec.rb
395
- - spec/unit/mcollective/facts/yaml_facts_spec.rb
396
- - spec/unit/mcollective/vendor_spec.rb
397
- - spec/unit/mcollective/ssl_spec.rb
398
- - spec/unit/mcollective/application/plugin_spec.rb
399
- - spec/unit/mcollective/validator/ipv6address_validator_spec.rb
400
- - spec/unit/mcollective/validator/ipv4address_validator_spec.rb
401
- - spec/unit/mcollective/validator/regex_validator_spec.rb
402
- - spec/unit/mcollective/validator/array_validator_spec.rb
403
- - spec/unit/mcollective/validator/length_validator_spec.rb
404
- - spec/unit/mcollective/validator/typecheck_validator_spec.rb
405
- - spec/unit/mcollective/validator/shellsafe_validator_spec.rb
406
- - spec/unit/mcollective/aggregate/base_spec.rb
375
+ - spec/spec_helper.rb
376
+ - spec/unit/mcollective/agent/rpcutil_spec.rb
377
+ - spec/unit/mcollective/agents_spec.rb
407
378
  - spec/unit/mcollective/aggregate/average_spec.rb
379
+ - spec/unit/mcollective/aggregate/base_spec.rb
408
380
  - spec/unit/mcollective/aggregate/result/base_spec.rb
409
381
  - spec/unit/mcollective/aggregate/result/collection_result_spec.rb
410
382
  - spec/unit/mcollective/aggregate/result/numeric_result_spec.rb
411
383
  - spec/unit/mcollective/aggregate/sum_spec.rb
412
384
  - spec/unit/mcollective/aggregate/summary_spec.rb
413
- - spec/unit/mcollective/matcher_spec.rb
414
- - spec/unit/mcollective/windows_daemon_spec.rb
415
- - spec/unit/mcollective/config_spec.rb
385
+ - spec/unit/mcollective/aggregate_spec.rb
386
+ - spec/unit/mcollective/application/plugin_spec.rb
387
+ - spec/unit/mcollective/application_spec.rb
416
388
  - spec/unit/mcollective/applications_spec.rb
417
- - spec/unit/mcollective/cache_spec.rb
418
- - spec/unit/mcollective/matcher/scanner_spec.rb
419
- - spec/unit/mcollective/matcher/parser_spec.rb
389
+ - spec/unit/mcollective/array_spec.rb
420
390
  - spec/unit/mcollective/audit/logfile_spec.rb
421
- - spec/unit/mcollective/string_spec.rb
422
- - spec/unit/mcollective/ddl_spec.rb
423
- - spec/unit/mcollective/log_spec.rb
424
- - spec/unit/mcollective/pluginmanager_spec.rb
425
- - spec/unit/mcollective/registration/base_spec.rb
426
- - spec/unit/mcollective/discovery/flatfile_spec.rb
427
- - spec/unit/mcollective/discovery/stdin_spec.rb
428
- - spec/unit/mcollective/discovery/mc_spec.rb
429
- - spec/unit/mcollective/data/collective_data_spec.rb
430
- - spec/unit/mcollective/data/base_spec.rb
391
+ - spec/unit/mcollective/cache_spec.rb
392
+ - spec/unit/mcollective/client_spec.rb
393
+ - spec/unit/mcollective/config_spec.rb
394
+ - spec/unit/mcollective/connector/activemq_spec.rb
395
+ - spec/unit/mcollective/connector/base_spec.rb
396
+ - spec/unit/mcollective/connector/rabbitmq_spec.rb
431
397
  - spec/unit/mcollective/data/agent_data_spec.rb
432
- - spec/unit/mcollective/data/result_spec.rb
433
- - spec/unit/mcollective/data/fstat_data_spec.rb
398
+ - spec/unit/mcollective/data/base_spec.rb
399
+ - spec/unit/mcollective/data/collective_data_spec.rb
434
400
  - spec/unit/mcollective/data/fact_data_spec.rb
401
+ - spec/unit/mcollective/data/fstat_data_spec.rb
402
+ - spec/unit/mcollective/data/result_spec.rb
403
+ - spec/unit/mcollective/data_spec.rb
404
+ - spec/unit/mcollective/ddl/agentddl_spec.rb
435
405
  - spec/unit/mcollective/ddl/base_spec.rb
436
406
  - spec/unit/mcollective/ddl/dataddl_spec.rb
437
407
  - spec/unit/mcollective/ddl/discoveryddl_spec.rb
438
- - spec/unit/mcollective/ddl/agentddl_spec.rb
408
+ - spec/unit/mcollective/ddl_spec.rb
409
+ - spec/unit/mcollective/discovery/flatfile_spec.rb
410
+ - spec/unit/mcollective/discovery/mc_spec.rb
411
+ - spec/unit/mcollective/discovery/stdin_spec.rb
439
412
  - spec/unit/mcollective/discovery_spec.rb
413
+ - spec/unit/mcollective/facts/base_spec.rb
414
+ - spec/unit/mcollective/facts/yaml_facts_spec.rb
415
+ - spec/unit/mcollective/facts_spec.rb
416
+ - spec/unit/mcollective/generators/agent_generator_spec.rb
417
+ - spec/unit/mcollective/generators/base_spec.rb
418
+ - spec/unit/mcollective/generators/data_generator_spec.rb
419
+ - spec/unit/mcollective/generators/snippets/agent_ddl
420
+ - spec/unit/mcollective/generators/snippets/data_ddl
421
+ - spec/unit/mcollective/log_spec.rb
440
422
  - spec/unit/mcollective/logger/base_spec.rb
441
423
  - spec/unit/mcollective/logger/console_logger_spec.rb
442
424
  - spec/unit/mcollective/logger/file_logger_spec.rb
443
425
  - spec/unit/mcollective/logger/syslog_logger_spec.rb
444
- - spec/unit/mcollective/shell_spec.rb
445
- - spec/unit/mcollective/data_spec.rb
446
- - spec/unit/mcollective/packagers/modulepackage_packager_spec.rb
426
+ - spec/unit/mcollective/matcher/parser_spec.rb
427
+ - spec/unit/mcollective/matcher/scanner_spec.rb
428
+ - spec/unit/mcollective/matcher_spec.rb
429
+ - spec/unit/mcollective/message_spec.rb
430
+ - spec/unit/mcollective/monkey_patches_spec.rb
431
+ - spec/unit/mcollective/optionparser_spec.rb
447
432
  - spec/unit/mcollective/packagers/debpackage_packager_spec.rb
433
+ - spec/unit/mcollective/packagers/modulepackage_packager_spec.rb
448
434
  - spec/unit/mcollective/packagers/ospackage_spec.rb
449
435
  - spec/unit/mcollective/packagers/rpmpackage_packager_spec.rb
450
- - spec/unit/mcollective/client_spec.rb
451
- - spec/unit/mcollective/pluginpackager/standard_definition_spec.rb
436
+ - spec/unit/mcollective/pluginmanager_spec.rb
452
437
  - spec/unit/mcollective/pluginpackager/agent_definition_spec.rb
453
- - spec/unit/mcollective/agent/rpcutil_spec.rb
454
- - spec/unit/mcollective/aggregate_spec.rb
455
- - spec/unit/mcollective/array_spec.rb
456
- - spec/unit/mcollective/optionparser_spec.rb
457
- - spec/unit/mcollective/message_spec.rb
438
+ - spec/unit/mcollective/pluginpackager/standard_definition_spec.rb
458
439
  - spec/unit/mcollective/pluginpackager_spec.rb
459
- - spec/unit/mcollective/connector/rabbitmq_spec.rb
460
- - spec/unit/mcollective/connector/base_spec.rb
461
- - spec/unit/mcollective/connector/activemq_spec.rb
462
- - spec/unit/mcollective/generators/snippets/data_ddl
463
- - spec/unit/mcollective/generators/snippets/agent_ddl
464
- - spec/unit/mcollective/generators/base_spec.rb
465
- - spec/unit/mcollective/generators/data_generator_spec.rb
466
- - spec/unit/mcollective/generators/agent_generator_spec.rb
467
- - spec/unit/mcollective/runner_spec.rb
468
- - spec/unit/mcollective/util_spec.rb
469
- - spec/unit/mcollective/agents_spec.rb
470
- - spec/unit/mcollective/monkey_patches_spec.rb
471
- - spec/unit/mcollective/unix_daemon_spec.rb
440
+ - spec/unit/mcollective/registration/base_spec.rb
441
+ - spec/unit/mcollective/rpc/actionrunner_spec.rb
442
+ - spec/unit/mcollective/rpc/agent_spec.rb
443
+ - spec/unit/mcollective/rpc/client_spec.rb
444
+ - spec/unit/mcollective/rpc/helpers_spec.rb
445
+ - spec/unit/mcollective/rpc/reply_spec.rb
446
+ - spec/unit/mcollective/rpc/request_spec.rb
447
+ - spec/unit/mcollective/rpc/result_spec.rb
448
+ - spec/unit/mcollective/rpc/stats_spec.rb
472
449
  - spec/unit/mcollective/rpc_spec.rb
473
- - spec/unit/mcollective/facts_spec.rb
474
- - spec/unit/mcollective/symbol_spec.rb
450
+ - spec/unit/mcollective/runner_spec.rb
451
+ - spec/unit/mcollective/runnerstats_spec.rb
475
452
  - spec/unit/mcollective/security/aes_security_spec.rb
476
- - spec/unit/mcollective/security/ssl_spec.rb
477
453
  - spec/unit/mcollective/security/base_spec.rb
478
454
  - spec/unit/mcollective/security/psk_spec.rb
479
- - spec/spec_helper.rb
455
+ - spec/unit/mcollective/security/ssl_spec.rb
456
+ - spec/unit/mcollective/shell_spec.rb
457
+ - spec/unit/mcollective/ssl_spec.rb
458
+ - spec/unit/mcollective/string_spec.rb
459
+ - spec/unit/mcollective/symbol_spec.rb
460
+ - spec/unit/mcollective/unix_daemon_spec.rb
461
+ - spec/unit/mcollective/util_spec.rb
462
+ - spec/unit/mcollective/validator/array_validator_spec.rb
463
+ - spec/unit/mcollective/validator/ipv4address_validator_spec.rb
464
+ - spec/unit/mcollective/validator/ipv6address_validator_spec.rb
465
+ - spec/unit/mcollective/validator/length_validator_spec.rb
466
+ - spec/unit/mcollective/validator/regex_validator_spec.rb
467
+ - spec/unit/mcollective/validator/shellsafe_validator_spec.rb
468
+ - spec/unit/mcollective/validator/typecheck_validator_spec.rb
469
+ - spec/unit/mcollective/validator_spec.rb
470
+ - spec/unit/mcollective/vendor_spec.rb
471
+ - spec/unit/mcollective/windows_daemon_spec.rb
480
472
  - spec/windows_spec.opts