choria-mcorpc-support 2.26.4 → 2.26.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 43f41b0f1494569ceb26e67b551bc3d1e044d8a9f8f76fa7732579b38eb1c478
4
- data.tar.gz: 26d0848fce706bbbdd3187c020e5fdbee1a35c8e29a1db8fd70ee6d4abb87e32
3
+ metadata.gz: 618794d9d7f198e7f4cc53e8367aaeddaa938fb6a6c7b2180c55fe14b767c68d
4
+ data.tar.gz: dbfc72f95e4ec3af2e8a7292bd7ec19ed5dd9d00d5d8b2d97f2ecafdd93e46a5
5
5
  SHA512:
6
- metadata.gz: f916fafd90f580ee1b9dce93b9cc9fbdc906fc875ff6214265985da897a9a3b3a2059d5b13077e458d2fa6e50f8f3e933ca93a52cdfed04af951370cd7e377ed
7
- data.tar.gz: 8ae81a9a7746e59b1b43ff3d8d8847a1d1a1416bdf667d859c464ca517f36ebf61d7d67b10b171a511699fc590a7f5ad51e7f111e936d177eae63b167dcc45b6
6
+ metadata.gz: dcc0cc84a7f5c6a6a0a48ca454db2b68b658d353d0485dbfa71faa48c47d3a575d4505716bb8d53b4f735622910ae313c0caf14e2d770533bebcbc8dfc5638d8
7
+ data.tar.gz: 463adc38db69e4b905d8cdb46719eca031f1a4fe82c0c35ccc8098edc88725dd8aa7fe1e0d3c409d0b40c3467332ee8ed6c04c02831cd2c2a78cce686e74fc8e
@@ -11,7 +11,7 @@ module MCollective
11
11
  # :timeout => 2
12
12
  #
13
13
  # discovery do
14
- # capabilities [:classes, :facts, :identity, :agents, :compound]
14
+ # capabilities [:classes, :facts, :identity, :agents, :compound, :federations]
15
15
  # end
16
16
  class DiscoveryDDL < Base
17
17
  def discovery_interface
@@ -25,10 +25,10 @@ module MCollective
25
25
  raise "Discovery plugin capabilities can't be empty" if caps.empty?
26
26
 
27
27
  caps.each do |cap|
28
- if [:classes, :facts, :identity, :agents, :compound].include?(cap)
28
+ if [:classes, :facts, :identity, :agents, :compound, :federations].include?(cap)
29
29
  @entities[:discovery][:capabilities] << cap
30
30
  else
31
- raise "%s is not a valid capability, valid capabilities are :classes, :facts, :identity, :agents and :compound" % cap
31
+ raise "%s is not a valid capability, valid capabilities are :classes, :facts, :identity, :agents, :compound, and :federations" % cap
32
32
  end
33
33
  end
34
34
  end
@@ -7,7 +7,7 @@ metadata :name => "external",
7
7
  :timeout => 2
8
8
 
9
9
  discovery do
10
- capabilities [:classes, :facts, :identity, :agents, :compound]
10
+ capabilities [:classes, :facts, :identity, :agents, :compound, :federations]
11
11
  end
12
12
 
13
13
 
@@ -9,6 +9,7 @@ module MCollective
9
9
  @facts = []
10
10
  @classes = []
11
11
  @identity = []
12
+ @federations = []
12
13
  @compound = nil
13
14
  end
14
15
 
@@ -217,7 +217,7 @@ module MCollective
217
217
  :discovery_method => nil,
218
218
  :discovery_options => Config.instance.default_discovery_options,
219
219
  :filter => empty_filter,
220
- :federations => []
220
+ :federations => Config.instance.federations
221
221
  }
222
222
  end
223
223
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: choria-mcorpc-support
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.26.4
4
+ version: 2.26.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - R.I.Pienaar
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-09-01 00:00:00.000000000 Z
11
+ date: 2024-12-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: systemu
@@ -246,7 +246,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
246
246
  - !ruby/object:Gem::Version
247
247
  version: '0'
248
248
  requirements: []
249
- rubygems_version: 3.4.19
249
+ rubygems_version: 3.2.33
250
250
  signing_key:
251
251
  specification_version: 4
252
252
  summary: Support libraries the Choria Server