mcollective-client 2.2.1 → 2.2.2
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/lib/mcollective/pluginpackager/agent_definition.rb +2 -2
- data/lib/mcollective/pluginpackager/standard_definition.rb +2 -1
- data/spec/unit/pluginpackager/agent_definition_spec.rb +2 -2
- data/spec/unit/pluginpackager/standard_definition_spec.rb +1 -1
- data/spec/unit/plugins/mcollective/packagers/rpmpackage_packager_spec.rb +2 -2
- data/spec/unit/plugins/mcollective/validator/any_validator_spec.rb +15 -0
- metadata +259 -246
@@ -48,7 +48,7 @@ module MCollective
|
|
48
48
|
else
|
49
49
|
return nil
|
50
50
|
end
|
51
|
-
agent[:dependencies] << {:name => "#{@mcname}-#{@metadata[:name]}-common", :version => @metadata[:version]}
|
51
|
+
agent[:dependencies] << {:name => "#{@mcname}-#{@metadata[:name]}-common", :version => @metadata[:version], :iteration => @iteration}
|
52
52
|
agent
|
53
53
|
end
|
54
54
|
|
@@ -63,7 +63,7 @@ module MCollective
|
|
63
63
|
|
64
64
|
client[:files] += Dir.glob(File.join(clientdir, "*")) if PluginPackager.check_dir_present clientdir
|
65
65
|
client[:files] += Dir.glob(File.join(aggregatedir, "*")) if PluginPackager.check_dir_present aggregatedir
|
66
|
-
client[:dependencies] << {:name => "#{@mcname}-#{@metadata[:name]}-common", :version => @metadata[:version]}
|
66
|
+
client[:dependencies] << {:name => "#{@mcname}-#{@metadata[:name]}-common", :version => @metadata[:version], :iteration => @iteration}
|
67
67
|
client[:files].empty? ? nil : client
|
68
68
|
end
|
69
69
|
|
@@ -45,7 +45,8 @@ module MCollective
|
|
45
45
|
end
|
46
46
|
|
47
47
|
plugindata[:dependencies] << {:name => "#{@mcname}-#{@metadata[:name]}-common",
|
48
|
-
:version => @metadata[:version]
|
48
|
+
:version => @metadata[:version],
|
49
|
+
:iteration => @iteration} if @packagedata[:common]
|
49
50
|
plugindata
|
50
51
|
end
|
51
52
|
|
@@ -78,7 +78,7 @@ module MCollective
|
|
78
78
|
|
79
79
|
agent = AgentDefinition.new(".", nil, nil, nil, nil, nil, [], {}, "agent")
|
80
80
|
agent.packagedata[:agent][:dependencies].should == [{:name => "mcollective-common", :version => nil},
|
81
|
-
{:name => "mcollective-foo-common", :version =>1}]
|
81
|
+
{:name => "mcollective-foo-common", :version =>1, :iteration => 1}]
|
82
82
|
end
|
83
83
|
end
|
84
84
|
|
@@ -153,7 +153,7 @@ module MCollective
|
|
153
153
|
|
154
154
|
client = AgentDefinition.new(".", nil, nil, nil, nil, nil, [], {}, "agent")
|
155
155
|
client.packagedata[:client][:dependencies].should == [{:name => "mcollective-common", :version => nil},
|
156
|
-
{:name => "mcollective-foo-common", :version => 1}]
|
156
|
+
{:name => "mcollective-foo-common", :version => 1, :iteration => 1}]
|
157
157
|
end
|
158
158
|
end
|
159
159
|
end
|
@@ -63,7 +63,7 @@ module MCollective
|
|
63
63
|
plugin = StandardDefinition.new(".", nil, nil, nil, nil, nil, [], {}, "testplugin")
|
64
64
|
plugin.packagedata["testplugin"][:files].should == ["file.rb"]
|
65
65
|
plugin.packagedata["testplugin"][:dependencies].should == [{:name => "mcollective-common", :version => nil},
|
66
|
-
{:name => "mcollective-foo-common", :version => 1}]
|
66
|
+
{:name => "mcollective-foo-common", :version => 1, :iteration => 1}]
|
67
67
|
end
|
68
68
|
end
|
69
69
|
|
@@ -85,7 +85,7 @@ module MCollective
|
|
85
85
|
|
86
86
|
it "should create the package" do
|
87
87
|
Dir.expects(:chdir)
|
88
|
-
PluginPackager.expects(:safe_system).with("rpmbuild -ta /tmp/mcollective-testplugin-test-1.tgz")
|
88
|
+
PluginPackager.expects(:safe_system).with("rpmbuild-md5 -ta /tmp/mcollective-testplugin-test-1.tgz")
|
89
89
|
FileUtils.expects(:cp).times(2)
|
90
90
|
@packager.tmpdir = "/tmp"
|
91
91
|
@packager.verbose = "true"
|
@@ -97,7 +97,7 @@ module MCollective
|
|
97
97
|
|
98
98
|
it "should sign the package if a signature is given" do
|
99
99
|
Dir.expects(:chdir)
|
100
|
-
PluginPackager.expects(:safe_system).with("rpmbuild -ta --sign /tmp/mcollective-testplugin-test-1.tgz")
|
100
|
+
PluginPackager.expects(:safe_system).with("rpmbuild-md5 -ta --sign /tmp/mcollective-testplugin-test-1.tgz")
|
101
101
|
FileUtils.expects(:cp).times(2)
|
102
102
|
@packager.signature = true
|
103
103
|
@packager.tmpdir = "/tmp"
|
@@ -0,0 +1,15 @@
|
|
1
|
+
#!/usr/bin/env rspec
|
2
|
+
require 'spec_helper'
|
3
|
+
require File.dirname(__FILE__) + '/../../../../../plugins/mcollective/validator/any_validator.rb'
|
4
|
+
|
5
|
+
module MCollective
|
6
|
+
module Validator
|
7
|
+
describe "#validate" do
|
8
|
+
it "should accept anything" do
|
9
|
+
["1", 1, :one, Time.now].each do |data|
|
10
|
+
Validator::AnyValidator.validate(data)
|
11
|
+
end
|
12
|
+
end
|
13
|
+
end
|
14
|
+
end
|
15
|
+
end
|
metadata
CHANGED
@@ -1,373 +1,386 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: mcollective-client
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
hash: 3
|
5
5
|
prerelease:
|
6
|
+
segments:
|
7
|
+
- 2
|
8
|
+
- 2
|
9
|
+
- 2
|
10
|
+
version: 2.2.2
|
6
11
|
platform: ruby
|
7
|
-
authors:
|
12
|
+
authors:
|
8
13
|
- R.I.Pienaar
|
9
14
|
autorequire:
|
10
15
|
bindir: bin
|
11
16
|
cert_chain: []
|
12
|
-
|
13
|
-
|
14
|
-
|
17
|
+
|
18
|
+
date: 2013-01-17 00:00:00 Z
|
19
|
+
dependencies:
|
20
|
+
- !ruby/object:Gem::Dependency
|
15
21
|
name: systemu
|
16
|
-
requirement: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
|
-
requirements:
|
19
|
-
- - ! '>='
|
20
|
-
- !ruby/object:Gem::Version
|
21
|
-
version: '0'
|
22
|
-
type: :runtime
|
23
22
|
prerelease: false
|
24
|
-
|
25
|
-
none: false
|
26
|
-
requirements:
|
27
|
-
- - ! '>='
|
28
|
-
- !ruby/object:Gem::Version
|
29
|
-
version: '0'
|
30
|
-
- !ruby/object:Gem::Dependency
|
31
|
-
name: json
|
32
|
-
requirement: !ruby/object:Gem::Requirement
|
23
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
33
24
|
none: false
|
34
|
-
requirements:
|
35
|
-
- -
|
36
|
-
- !ruby/object:Gem::Version
|
37
|
-
|
25
|
+
requirements:
|
26
|
+
- - ">="
|
27
|
+
- !ruby/object:Gem::Version
|
28
|
+
hash: 3
|
29
|
+
segments:
|
30
|
+
- 0
|
31
|
+
version: "0"
|
38
32
|
type: :runtime
|
33
|
+
version_requirements: *id001
|
34
|
+
- !ruby/object:Gem::Dependency
|
35
|
+
name: json
|
39
36
|
prerelease: false
|
40
|
-
|
41
|
-
none: false
|
42
|
-
requirements:
|
43
|
-
- - ! '>='
|
44
|
-
- !ruby/object:Gem::Version
|
45
|
-
version: '0'
|
46
|
-
- !ruby/object:Gem::Dependency
|
47
|
-
name: stomp
|
48
|
-
requirement: !ruby/object:Gem::Requirement
|
37
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
49
38
|
none: false
|
50
|
-
requirements:
|
51
|
-
- -
|
52
|
-
- !ruby/object:Gem::Version
|
53
|
-
|
39
|
+
requirements:
|
40
|
+
- - ">="
|
41
|
+
- !ruby/object:Gem::Version
|
42
|
+
hash: 3
|
43
|
+
segments:
|
44
|
+
- 0
|
45
|
+
version: "0"
|
54
46
|
type: :runtime
|
47
|
+
version_requirements: *id002
|
48
|
+
- !ruby/object:Gem::Dependency
|
49
|
+
name: stomp
|
55
50
|
prerelease: false
|
56
|
-
|
51
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
57
52
|
none: false
|
58
|
-
requirements:
|
59
|
-
- -
|
60
|
-
- !ruby/object:Gem::Version
|
61
|
-
|
53
|
+
requirements:
|
54
|
+
- - ">="
|
55
|
+
- !ruby/object:Gem::Version
|
56
|
+
hash: 3
|
57
|
+
segments:
|
58
|
+
- 0
|
59
|
+
version: "0"
|
60
|
+
type: :runtime
|
61
|
+
version_requirements: *id003
|
62
62
|
description: Client libraries for the mcollective Application Server
|
63
63
|
email: rip@puppetlabs.com
|
64
|
-
executables:
|
64
|
+
executables:
|
65
65
|
- mco
|
66
66
|
extensions: []
|
67
|
+
|
67
68
|
extra_rdoc_files: []
|
68
|
-
|
69
|
+
|
70
|
+
files:
|
69
71
|
- bin/mc-call-agent
|
70
72
|
- bin/mco
|
71
|
-
- lib/mcollective/
|
72
|
-
- lib/mcollective/
|
73
|
+
- lib/mcollective/data.rb
|
74
|
+
- lib/mcollective/connector/base.rb
|
75
|
+
- lib/mcollective/windows_daemon.rb
|
76
|
+
- lib/mcollective/vendor/require_vendored.rb
|
77
|
+
- lib/mcollective/shell.rb
|
78
|
+
- lib/mcollective/ssl.rb
|
73
79
|
- lib/mcollective/aggregate/base.rb
|
80
|
+
- lib/mcollective/aggregate/result/numeric_result.rb
|
74
81
|
- lib/mcollective/aggregate/result/base.rb
|
75
82
|
- lib/mcollective/aggregate/result/collection_result.rb
|
76
|
-
- lib/mcollective/aggregate/result/numeric_result.rb
|
77
83
|
- lib/mcollective/aggregate/result.rb
|
78
|
-
- lib/mcollective/
|
84
|
+
- lib/mcollective/agent.rb
|
85
|
+
- lib/mcollective/facts/base.rb
|
79
86
|
- lib/mcollective/application.rb
|
80
|
-
- lib/mcollective/
|
81
|
-
- lib/mcollective/
|
82
|
-
- lib/mcollective/
|
83
|
-
- lib/mcollective/
|
84
|
-
- lib/mcollective/
|
85
|
-
- lib/mcollective/
|
86
|
-
- lib/mcollective/
|
87
|
-
- lib/mcollective/
|
88
|
-
- lib/mcollective/
|
89
|
-
- lib/mcollective/
|
87
|
+
- lib/mcollective/message.rb
|
88
|
+
- lib/mcollective/monkey_patches.rb
|
89
|
+
- lib/mcollective/agents.rb
|
90
|
+
- lib/mcollective/rpc/agent.rb
|
91
|
+
- lib/mcollective/rpc/request.rb
|
92
|
+
- lib/mcollective/rpc/reply.rb
|
93
|
+
- lib/mcollective/rpc/progress.rb
|
94
|
+
- lib/mcollective/rpc/result.rb
|
95
|
+
- lib/mcollective/rpc/helpers.rb
|
96
|
+
- lib/mcollective/rpc/actionrunner.rb
|
97
|
+
- lib/mcollective/rpc/audit.rb
|
98
|
+
- lib/mcollective/rpc/client.rb
|
99
|
+
- lib/mcollective/rpc/stats.rb
|
100
|
+
- lib/mcollective/log.rb
|
101
|
+
- lib/mcollective/pluginmanager.rb
|
102
|
+
- lib/mcollective/runnerstats.rb
|
103
|
+
- lib/mcollective/pluginpackager/agent_definition.rb
|
104
|
+
- lib/mcollective/pluginpackager/standard_definition.rb
|
105
|
+
- lib/mcollective/discovery.rb
|
106
|
+
- lib/mcollective/vendor.rb
|
107
|
+
- lib/mcollective/facts.rb
|
108
|
+
- lib/mcollective/logger.rb
|
109
|
+
- lib/mcollective/generators.rb
|
90
110
|
- lib/mcollective/ddl/base.rb
|
91
|
-
- lib/mcollective/ddl/
|
111
|
+
- lib/mcollective/ddl/agentddl.rb
|
92
112
|
- lib/mcollective/ddl/discoveryddl.rb
|
113
|
+
- lib/mcollective/ddl/dataddl.rb
|
93
114
|
- lib/mcollective/ddl/validatorddl.rb
|
94
|
-
- lib/mcollective/
|
95
|
-
- lib/mcollective/
|
96
|
-
- lib/mcollective/
|
97
|
-
- lib/mcollective/
|
98
|
-
- lib/mcollective/generators/agent_generator.rb
|
115
|
+
- lib/mcollective/logger/file_logger.rb
|
116
|
+
- lib/mcollective/logger/console_logger.rb
|
117
|
+
- lib/mcollective/logger/base.rb
|
118
|
+
- lib/mcollective/logger/syslog_logger.rb
|
99
119
|
- lib/mcollective/generators/base.rb
|
100
|
-
- lib/mcollective/generators/data_generator.rb
|
101
|
-
- lib/mcollective/generators/templates/action_snippet.erb
|
102
120
|
- lib/mcollective/generators/templates/data_input_snippet.erb
|
103
121
|
- lib/mcollective/generators/templates/ddl.erb
|
122
|
+
- lib/mcollective/generators/templates/action_snippet.erb
|
104
123
|
- lib/mcollective/generators/templates/plugin.erb
|
105
|
-
- lib/mcollective/generators.rb
|
106
|
-
- lib/mcollective/
|
107
|
-
- lib/mcollective/
|
108
|
-
- lib/mcollective/
|
109
|
-
- lib/mcollective/
|
110
|
-
- lib/mcollective/logger/syslog_logger.rb
|
111
|
-
- lib/mcollective/logger.rb
|
112
|
-
- lib/mcollective/matcher/parser.rb
|
113
|
-
- lib/mcollective/matcher/scanner.rb
|
114
|
-
- lib/mcollective/matcher.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/agent_definition.rb
|
120
|
-
- lib/mcollective/pluginpackager/standard_definition.rb
|
121
|
-
- lib/mcollective/pluginpackager.rb
|
124
|
+
- lib/mcollective/generators/data_generator.rb
|
125
|
+
- lib/mcollective/generators/agent_generator.rb
|
126
|
+
- lib/mcollective/config.rb
|
127
|
+
- lib/mcollective/ddl.rb
|
128
|
+
- lib/mcollective/connector.rb
|
122
129
|
- lib/mcollective/registration/base.rb
|
123
130
|
- lib/mcollective/registration.rb
|
124
|
-
- lib/mcollective/
|
125
|
-
- lib/mcollective/
|
126
|
-
- lib/mcollective/rpc/audit.rb
|
127
|
-
- lib/mcollective/rpc/client.rb
|
128
|
-
- lib/mcollective/rpc/helpers.rb
|
129
|
-
- lib/mcollective/rpc/progress.rb
|
130
|
-
- lib/mcollective/rpc/reply.rb
|
131
|
-
- lib/mcollective/rpc/request.rb
|
132
|
-
- lib/mcollective/rpc/result.rb
|
133
|
-
- lib/mcollective/rpc/stats.rb
|
134
|
-
- lib/mcollective/rpc.rb
|
135
|
-
- lib/mcollective/runnerstats.rb
|
131
|
+
- lib/mcollective/applications.rb
|
132
|
+
- lib/mcollective/pluginpackager.rb
|
136
133
|
- lib/mcollective/security/base.rb
|
137
|
-
- lib/mcollective/
|
138
|
-
- lib/mcollective/shell.rb
|
139
|
-
- lib/mcollective/ssl.rb
|
134
|
+
- lib/mcollective/matcher.rb
|
140
135
|
- lib/mcollective/unix_daemon.rb
|
141
|
-
- lib/mcollective/
|
136
|
+
- lib/mcollective/data/base.rb
|
137
|
+
- lib/mcollective/data/result.rb
|
142
138
|
- lib/mcollective/validator.rb
|
143
|
-
- lib/mcollective/
|
144
|
-
- lib/mcollective/
|
145
|
-
- lib/mcollective/
|
139
|
+
- lib/mcollective/aggregate.rb
|
140
|
+
- lib/mcollective/rpc.rb
|
141
|
+
- lib/mcollective/optionparser.rb
|
142
|
+
- lib/mcollective/cache.rb
|
143
|
+
- lib/mcollective/matcher/parser.rb
|
144
|
+
- lib/mcollective/matcher/scanner.rb
|
145
|
+
- lib/mcollective/client.rb
|
146
|
+
- lib/mcollective/security.rb
|
147
|
+
- lib/mcollective/util.rb
|
146
148
|
- lib/mcollective.rb
|
149
|
+
- spec/spec.opts
|
150
|
+
- spec/fixtures/test-public.pem
|
147
151
|
- spec/fixtures/application/test.rb
|
148
|
-
- spec/fixtures/test-cert.pem
|
149
152
|
- spec/fixtures/test-private.pem
|
150
|
-
- spec/fixtures/test-
|
153
|
+
- spec/fixtures/test-cert.pem
|
151
154
|
- spec/fixtures/util/1.in
|
155
|
+
- spec/fixtures/util/4.in
|
152
156
|
- spec/fixtures/util/1.out
|
157
|
+
- spec/fixtures/util/3.in
|
153
158
|
- spec/fixtures/util/2.in
|
154
159
|
- spec/fixtures/util/2.out
|
155
|
-
- spec/fixtures/util/3.in
|
156
|
-
- spec/fixtures/util/3.out
|
157
|
-
- spec/fixtures/util/4.in
|
158
160
|
- spec/fixtures/util/4.out
|
159
|
-
- spec/
|
160
|
-
- spec/
|
161
|
-
- spec/
|
162
|
-
- spec/
|
163
|
-
- spec/unit/agents_spec.rb
|
161
|
+
- spec/fixtures/util/3.out
|
162
|
+
- spec/unit/data_spec.rb
|
163
|
+
- spec/unit/application_spec.rb
|
164
|
+
- spec/unit/ddl_spec.rb
|
164
165
|
- spec/unit/aggregate/base_spec.rb
|
165
166
|
- spec/unit/aggregate/result/base_spec.rb
|
166
|
-
- spec/unit/aggregate/result/collection_result_spec.rb
|
167
167
|
- spec/unit/aggregate/result/numeric_result_spec.rb
|
168
|
-
- spec/unit/
|
169
|
-
- spec/unit/
|
170
|
-
- spec/unit/
|
168
|
+
- spec/unit/aggregate/result/collection_result_spec.rb
|
169
|
+
- spec/unit/client_spec.rb
|
170
|
+
- spec/unit/unix_daemon_spec.rb
|
171
|
+
- spec/unit/facts/base_spec.rb
|
171
172
|
- spec/unit/array_spec.rb
|
173
|
+
- spec/unit/rpc/reply_spec.rb
|
174
|
+
- spec/unit/rpc/client_spec.rb
|
175
|
+
- spec/unit/rpc/helpers_spec.rb
|
176
|
+
- spec/unit/rpc/request_spec.rb
|
177
|
+
- spec/unit/rpc/agent_spec.rb
|
178
|
+
- spec/unit/rpc/result_spec.rb
|
179
|
+
- spec/unit/rpc/actionrunner_spec.rb
|
180
|
+
- spec/unit/rpc/stats_spec.rb
|
181
|
+
- spec/unit/windows_daemon_spec.rb
|
172
182
|
- spec/unit/cache_spec.rb
|
173
|
-
- spec/unit/
|
183
|
+
- spec/unit/optionparser_spec.rb
|
184
|
+
- spec/unit/string_spec.rb
|
185
|
+
- spec/unit/pluginpackager/agent_definition_spec.rb
|
186
|
+
- spec/unit/pluginpackager/standard_definition_spec.rb
|
187
|
+
- spec/unit/ssl_spec.rb
|
174
188
|
- spec/unit/config_spec.rb
|
175
|
-
- spec/unit/
|
176
|
-
- spec/unit/
|
177
|
-
- spec/unit/
|
178
|
-
- spec/unit/ddl/agentddl_spec.rb
|
189
|
+
- spec/unit/applications_spec.rb
|
190
|
+
- spec/unit/validator_spec.rb
|
191
|
+
- spec/unit/runnerstats_spec.rb
|
179
192
|
- spec/unit/ddl/base_spec.rb
|
180
193
|
- spec/unit/ddl/dataddl_spec.rb
|
194
|
+
- spec/unit/ddl/agentddl_spec.rb
|
181
195
|
- spec/unit/ddl/discoveryddl_spec.rb
|
182
|
-
- spec/unit/
|
183
|
-
- spec/unit/
|
184
|
-
- spec/unit/
|
185
|
-
- spec/unit/facts_spec.rb
|
196
|
+
- spec/unit/logger/console_logger_spec.rb
|
197
|
+
- spec/unit/logger/base_spec.rb
|
198
|
+
- spec/unit/logger/syslog_logger_spec.rb
|
186
199
|
- spec/unit/generators/agent_generator_spec.rb
|
187
|
-
- spec/unit/generators/base_spec.rb
|
188
|
-
- spec/unit/generators/data_generator_spec.rb
|
189
200
|
- spec/unit/generators/snippets/agent_ddl
|
190
201
|
- spec/unit/generators/snippets/data_ddl
|
191
|
-
- spec/unit/
|
192
|
-
- spec/unit/
|
193
|
-
- spec/unit/logger/console_logger_spec.rb
|
194
|
-
- 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/aggregate/average_spec.rb
|
205
|
-
- spec/unit/plugins/mcollective/aggregate/sum_spec.rb
|
206
|
-
- spec/unit/plugins/mcollective/aggregate/summary_spec.rb
|
207
|
-
- spec/unit/plugins/mcollective/connector/activemq_spec.rb
|
202
|
+
- spec/unit/generators/base_spec.rb
|
203
|
+
- spec/unit/generators/data_generator_spec.rb
|
208
204
|
- spec/unit/plugins/mcollective/connector/rabbitmq_spec.rb
|
205
|
+
- spec/unit/plugins/mcollective/connector/activemq_spec.rb
|
209
206
|
- spec/unit/plugins/mcollective/connector/stomp/eventlogger_spec.rb
|
210
207
|
- spec/unit/plugins/mcollective/connector/stomp_spec.rb
|
211
|
-
- spec/unit/plugins/mcollective/
|
212
|
-
- spec/unit/plugins/mcollective/
|
208
|
+
- spec/unit/plugins/mcollective/aggregate/sum_spec.rb
|
209
|
+
- spec/unit/plugins/mcollective/aggregate/average_spec.rb
|
210
|
+
- spec/unit/plugins/mcollective/aggregate/summary_spec.rb
|
213
211
|
- spec/unit/plugins/mcollective/discovery/flatfile_spec.rb
|
214
212
|
- spec/unit/plugins/mcollective/discovery/mc_spec.rb
|
215
213
|
- spec/unit/plugins/mcollective/packagers/debpackage_packager_spec.rb
|
216
214
|
- spec/unit/plugins/mcollective/packagers/ospackage_spec.rb
|
217
215
|
- spec/unit/plugins/mcollective/packagers/rpmpackage_packager_spec.rb
|
218
216
|
- spec/unit/plugins/mcollective/security/psk_spec.rb
|
219
|
-
- spec/unit/plugins/mcollective/
|
220
|
-
- spec/unit/plugins/mcollective/
|
221
|
-
- spec/unit/plugins/mcollective/validator/ipv6address_validator_spec.rb
|
222
|
-
- spec/unit/plugins/mcollective/validator/length_validator_spec.rb
|
217
|
+
- spec/unit/plugins/mcollective/data/fstat_data_spec.rb
|
218
|
+
- spec/unit/plugins/mcollective/data/agent_data_spec.rb
|
223
219
|
- spec/unit/plugins/mcollective/validator/regex_validator_spec.rb
|
224
220
|
- spec/unit/plugins/mcollective/validator/shellsafe_validator_spec.rb
|
221
|
+
- spec/unit/plugins/mcollective/validator/ipv4address_validator_spec.rb
|
225
222
|
- spec/unit/plugins/mcollective/validator/typecheck_validator_spec.rb
|
223
|
+
- spec/unit/plugins/mcollective/validator/ipv6address_validator_spec.rb
|
224
|
+
- spec/unit/plugins/mcollective/validator/array_validator_spec.rb
|
225
|
+
- spec/unit/plugins/mcollective/validator/any_validator_spec.rb
|
226
|
+
- spec/unit/plugins/mcollective/validator/length_validator_spec.rb
|
227
|
+
- spec/unit/pluginpackager_spec.rb
|
226
228
|
- spec/unit/registration/base_spec.rb
|
227
|
-
- spec/unit/
|
228
|
-
- spec/unit/rpc/agent_spec.rb
|
229
|
-
- spec/unit/rpc/client_spec.rb
|
230
|
-
- spec/unit/rpc/helpers_spec.rb
|
231
|
-
- spec/unit/rpc/reply_spec.rb
|
232
|
-
- spec/unit/rpc/request_spec.rb
|
233
|
-
- spec/unit/rpc/result_spec.rb
|
234
|
-
- spec/unit/rpc/stats_spec.rb
|
235
|
-
- spec/unit/rpc_spec.rb
|
236
|
-
- spec/unit/runnerstats_spec.rb
|
229
|
+
- spec/unit/agents_spec.rb
|
237
230
|
- spec/unit/security/base_spec.rb
|
231
|
+
- spec/unit/vendor_spec.rb
|
232
|
+
- spec/unit/message_spec.rb
|
233
|
+
- spec/unit/rpc_spec.rb
|
234
|
+
- spec/unit/data/base_spec.rb
|
235
|
+
- spec/unit/data/result_spec.rb
|
236
|
+
- spec/unit/matcher_spec.rb
|
237
|
+
- spec/unit/log_spec.rb
|
238
|
+
- spec/unit/aggregate_spec.rb
|
239
|
+
- spec/unit/facts_spec.rb
|
238
240
|
- spec/unit/shell_spec.rb
|
239
|
-
- spec/unit/
|
240
|
-
- spec/unit/
|
241
|
+
- spec/unit/pluginmanager_spec.rb
|
242
|
+
- spec/unit/discovery_spec.rb
|
243
|
+
- spec/unit/matcher/parser_spec.rb
|
244
|
+
- spec/unit/matcher/scanner_spec.rb
|
241
245
|
- spec/unit/symbol_spec.rb
|
242
|
-
- spec/unit/unix_daemon_spec.rb
|
243
246
|
- spec/unit/util_spec.rb
|
244
|
-
- spec/unit/validator_spec.rb
|
245
|
-
- spec/unit/vendor_spec.rb
|
246
|
-
- spec/unit/windows_daemon_spec.rb
|
247
247
|
- spec/windows_spec.opts
|
248
|
+
- spec/spec_helper.rb
|
249
|
+
- spec/monkey_patches/instance_variable_defined.rb
|
250
|
+
- spec/Rakefile
|
248
251
|
homepage: https://docs.puppetlabs.com/mcollective/
|
249
252
|
licenses: []
|
253
|
+
|
250
254
|
post_install_message:
|
251
255
|
rdoc_options: []
|
252
|
-
|
256
|
+
|
257
|
+
require_paths:
|
253
258
|
- lib
|
254
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
259
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
255
260
|
none: false
|
256
|
-
requirements:
|
257
|
-
- -
|
258
|
-
- !ruby/object:Gem::Version
|
259
|
-
|
260
|
-
|
261
|
+
requirements:
|
262
|
+
- - ">="
|
263
|
+
- !ruby/object:Gem::Version
|
264
|
+
hash: 3
|
265
|
+
segments:
|
266
|
+
- 0
|
267
|
+
version: "0"
|
268
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
261
269
|
none: false
|
262
|
-
requirements:
|
263
|
-
- -
|
264
|
-
- !ruby/object:Gem::Version
|
265
|
-
|
270
|
+
requirements:
|
271
|
+
- - ">="
|
272
|
+
- !ruby/object:Gem::Version
|
273
|
+
hash: 3
|
274
|
+
segments:
|
275
|
+
- 0
|
276
|
+
version: "0"
|
266
277
|
requirements: []
|
278
|
+
|
267
279
|
rubyforge_project:
|
268
|
-
rubygems_version: 1.8.
|
280
|
+
rubygems_version: 1.8.11
|
269
281
|
signing_key:
|
270
282
|
specification_version: 3
|
271
283
|
summary: Client libraries for The Marionette Collective
|
272
|
-
test_files:
|
284
|
+
test_files:
|
285
|
+
- spec/spec.opts
|
286
|
+
- spec/fixtures/test-public.pem
|
273
287
|
- spec/fixtures/application/test.rb
|
274
|
-
- spec/fixtures/test-cert.pem
|
275
288
|
- spec/fixtures/test-private.pem
|
276
|
-
- spec/fixtures/test-
|
289
|
+
- spec/fixtures/test-cert.pem
|
277
290
|
- spec/fixtures/util/1.in
|
291
|
+
- spec/fixtures/util/4.in
|
278
292
|
- spec/fixtures/util/1.out
|
293
|
+
- spec/fixtures/util/3.in
|
279
294
|
- spec/fixtures/util/2.in
|
280
295
|
- spec/fixtures/util/2.out
|
281
|
-
- spec/fixtures/util/3.in
|
282
|
-
- spec/fixtures/util/3.out
|
283
|
-
- spec/fixtures/util/4.in
|
284
296
|
- spec/fixtures/util/4.out
|
285
|
-
- spec/
|
286
|
-
- spec/
|
287
|
-
- spec/
|
288
|
-
- spec/
|
289
|
-
- spec/unit/agents_spec.rb
|
297
|
+
- spec/fixtures/util/3.out
|
298
|
+
- spec/unit/data_spec.rb
|
299
|
+
- spec/unit/application_spec.rb
|
300
|
+
- spec/unit/ddl_spec.rb
|
290
301
|
- spec/unit/aggregate/base_spec.rb
|
291
302
|
- spec/unit/aggregate/result/base_spec.rb
|
292
|
-
- spec/unit/aggregate/result/collection_result_spec.rb
|
293
303
|
- spec/unit/aggregate/result/numeric_result_spec.rb
|
294
|
-
- spec/unit/
|
295
|
-
- spec/unit/
|
296
|
-
- spec/unit/
|
304
|
+
- spec/unit/aggregate/result/collection_result_spec.rb
|
305
|
+
- spec/unit/client_spec.rb
|
306
|
+
- spec/unit/unix_daemon_spec.rb
|
307
|
+
- spec/unit/facts/base_spec.rb
|
297
308
|
- spec/unit/array_spec.rb
|
309
|
+
- spec/unit/rpc/reply_spec.rb
|
310
|
+
- spec/unit/rpc/client_spec.rb
|
311
|
+
- spec/unit/rpc/helpers_spec.rb
|
312
|
+
- spec/unit/rpc/request_spec.rb
|
313
|
+
- spec/unit/rpc/agent_spec.rb
|
314
|
+
- spec/unit/rpc/result_spec.rb
|
315
|
+
- spec/unit/rpc/actionrunner_spec.rb
|
316
|
+
- spec/unit/rpc/stats_spec.rb
|
317
|
+
- spec/unit/windows_daemon_spec.rb
|
298
318
|
- spec/unit/cache_spec.rb
|
299
|
-
- spec/unit/
|
319
|
+
- spec/unit/optionparser_spec.rb
|
320
|
+
- spec/unit/string_spec.rb
|
321
|
+
- spec/unit/pluginpackager/agent_definition_spec.rb
|
322
|
+
- spec/unit/pluginpackager/standard_definition_spec.rb
|
323
|
+
- spec/unit/ssl_spec.rb
|
300
324
|
- spec/unit/config_spec.rb
|
301
|
-
- spec/unit/
|
302
|
-
- spec/unit/
|
303
|
-
- spec/unit/
|
304
|
-
- spec/unit/ddl/agentddl_spec.rb
|
325
|
+
- spec/unit/applications_spec.rb
|
326
|
+
- spec/unit/validator_spec.rb
|
327
|
+
- spec/unit/runnerstats_spec.rb
|
305
328
|
- spec/unit/ddl/base_spec.rb
|
306
329
|
- spec/unit/ddl/dataddl_spec.rb
|
330
|
+
- spec/unit/ddl/agentddl_spec.rb
|
307
331
|
- spec/unit/ddl/discoveryddl_spec.rb
|
308
|
-
- spec/unit/
|
309
|
-
- spec/unit/
|
310
|
-
- spec/unit/
|
311
|
-
- spec/unit/facts_spec.rb
|
332
|
+
- spec/unit/logger/console_logger_spec.rb
|
333
|
+
- spec/unit/logger/base_spec.rb
|
334
|
+
- spec/unit/logger/syslog_logger_spec.rb
|
312
335
|
- spec/unit/generators/agent_generator_spec.rb
|
313
|
-
- spec/unit/generators/base_spec.rb
|
314
|
-
- spec/unit/generators/data_generator_spec.rb
|
315
336
|
- spec/unit/generators/snippets/agent_ddl
|
316
337
|
- spec/unit/generators/snippets/data_ddl
|
317
|
-
- spec/unit/
|
318
|
-
- spec/unit/
|
319
|
-
- spec/unit/logger/console_logger_spec.rb
|
320
|
-
- spec/unit/logger/syslog_logger_spec.rb
|
321
|
-
- spec/unit/matcher/parser_spec.rb
|
322
|
-
- spec/unit/matcher/scanner_spec.rb
|
323
|
-
- spec/unit/matcher_spec.rb
|
324
|
-
- spec/unit/message_spec.rb
|
325
|
-
- spec/unit/optionparser_spec.rb
|
326
|
-
- spec/unit/pluginmanager_spec.rb
|
327
|
-
- spec/unit/pluginpackager/agent_definition_spec.rb
|
328
|
-
- spec/unit/pluginpackager/standard_definition_spec.rb
|
329
|
-
- spec/unit/pluginpackager_spec.rb
|
330
|
-
- spec/unit/plugins/mcollective/aggregate/average_spec.rb
|
331
|
-
- spec/unit/plugins/mcollective/aggregate/sum_spec.rb
|
332
|
-
- spec/unit/plugins/mcollective/aggregate/summary_spec.rb
|
333
|
-
- spec/unit/plugins/mcollective/connector/activemq_spec.rb
|
338
|
+
- spec/unit/generators/base_spec.rb
|
339
|
+
- spec/unit/generators/data_generator_spec.rb
|
334
340
|
- spec/unit/plugins/mcollective/connector/rabbitmq_spec.rb
|
341
|
+
- spec/unit/plugins/mcollective/connector/activemq_spec.rb
|
335
342
|
- spec/unit/plugins/mcollective/connector/stomp/eventlogger_spec.rb
|
336
343
|
- spec/unit/plugins/mcollective/connector/stomp_spec.rb
|
337
|
-
- spec/unit/plugins/mcollective/
|
338
|
-
- spec/unit/plugins/mcollective/
|
344
|
+
- spec/unit/plugins/mcollective/aggregate/sum_spec.rb
|
345
|
+
- spec/unit/plugins/mcollective/aggregate/average_spec.rb
|
346
|
+
- spec/unit/plugins/mcollective/aggregate/summary_spec.rb
|
339
347
|
- spec/unit/plugins/mcollective/discovery/flatfile_spec.rb
|
340
348
|
- spec/unit/plugins/mcollective/discovery/mc_spec.rb
|
341
349
|
- spec/unit/plugins/mcollective/packagers/debpackage_packager_spec.rb
|
342
350
|
- spec/unit/plugins/mcollective/packagers/ospackage_spec.rb
|
343
351
|
- spec/unit/plugins/mcollective/packagers/rpmpackage_packager_spec.rb
|
344
352
|
- spec/unit/plugins/mcollective/security/psk_spec.rb
|
345
|
-
- spec/unit/plugins/mcollective/
|
346
|
-
- spec/unit/plugins/mcollective/
|
347
|
-
- spec/unit/plugins/mcollective/validator/ipv6address_validator_spec.rb
|
348
|
-
- spec/unit/plugins/mcollective/validator/length_validator_spec.rb
|
353
|
+
- spec/unit/plugins/mcollective/data/fstat_data_spec.rb
|
354
|
+
- spec/unit/plugins/mcollective/data/agent_data_spec.rb
|
349
355
|
- spec/unit/plugins/mcollective/validator/regex_validator_spec.rb
|
350
356
|
- spec/unit/plugins/mcollective/validator/shellsafe_validator_spec.rb
|
357
|
+
- spec/unit/plugins/mcollective/validator/ipv4address_validator_spec.rb
|
351
358
|
- spec/unit/plugins/mcollective/validator/typecheck_validator_spec.rb
|
359
|
+
- spec/unit/plugins/mcollective/validator/ipv6address_validator_spec.rb
|
360
|
+
- spec/unit/plugins/mcollective/validator/array_validator_spec.rb
|
361
|
+
- spec/unit/plugins/mcollective/validator/any_validator_spec.rb
|
362
|
+
- spec/unit/plugins/mcollective/validator/length_validator_spec.rb
|
363
|
+
- spec/unit/pluginpackager_spec.rb
|
352
364
|
- spec/unit/registration/base_spec.rb
|
353
|
-
- spec/unit/
|
354
|
-
- spec/unit/rpc/agent_spec.rb
|
355
|
-
- spec/unit/rpc/client_spec.rb
|
356
|
-
- spec/unit/rpc/helpers_spec.rb
|
357
|
-
- spec/unit/rpc/reply_spec.rb
|
358
|
-
- spec/unit/rpc/request_spec.rb
|
359
|
-
- spec/unit/rpc/result_spec.rb
|
360
|
-
- spec/unit/rpc/stats_spec.rb
|
361
|
-
- spec/unit/rpc_spec.rb
|
362
|
-
- spec/unit/runnerstats_spec.rb
|
365
|
+
- spec/unit/agents_spec.rb
|
363
366
|
- spec/unit/security/base_spec.rb
|
367
|
+
- spec/unit/vendor_spec.rb
|
368
|
+
- spec/unit/message_spec.rb
|
369
|
+
- spec/unit/rpc_spec.rb
|
370
|
+
- spec/unit/data/base_spec.rb
|
371
|
+
- spec/unit/data/result_spec.rb
|
372
|
+
- spec/unit/matcher_spec.rb
|
373
|
+
- spec/unit/log_spec.rb
|
374
|
+
- spec/unit/aggregate_spec.rb
|
375
|
+
- spec/unit/facts_spec.rb
|
364
376
|
- spec/unit/shell_spec.rb
|
365
|
-
- spec/unit/
|
366
|
-
- spec/unit/
|
377
|
+
- spec/unit/pluginmanager_spec.rb
|
378
|
+
- spec/unit/discovery_spec.rb
|
379
|
+
- spec/unit/matcher/parser_spec.rb
|
380
|
+
- spec/unit/matcher/scanner_spec.rb
|
367
381
|
- spec/unit/symbol_spec.rb
|
368
|
-
- spec/unit/unix_daemon_spec.rb
|
369
382
|
- spec/unit/util_spec.rb
|
370
|
-
- spec/unit/validator_spec.rb
|
371
|
-
- spec/unit/vendor_spec.rb
|
372
|
-
- spec/unit/windows_daemon_spec.rb
|
373
383
|
- spec/windows_spec.opts
|
384
|
+
- spec/spec_helper.rb
|
385
|
+
- spec/monkey_patches/instance_variable_defined.rb
|
386
|
+
- spec/Rakefile
|