quixoten-puppetdb-terminus 2.3.5 → 2.3.6

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
  SHA1:
3
- metadata.gz: d3d25c5f9ebd41545a311b634bd02a94b31d2fb9
4
- data.tar.gz: b287f5565077e6b5f27a0f9e9385af0bffd87f41
3
+ metadata.gz: aba823eea2b1575185872cd51bb6b4c27415cf38
4
+ data.tar.gz: 678a1a4614d837a723faf1b306d5b8e3c1d2bb80
5
5
  SHA512:
6
- metadata.gz: 66ba11c0e67cb859c5a5a4bf5d9db7a89eda39e372544b2c35d808025eafa51a756b176279ba4f54177450912aa10ba707d9b24015cc15b9499675ad7d97a7dd
7
- data.tar.gz: e8880a0c197af87bdb8558006e9ad801871ea76e425876563039e3ef5f4dbc4d321922c6856a4279fcae5ef27aa36768d60449972f770cfb28b4a00b676d8ad5
6
+ metadata.gz: c984094183728cb4c3982ddd9df0c2862964fb088e3f8b9f03fe82a3c30a881529187b286dac342d8aba69acf3d228c344ab7eb3925b0c0e682b4baec8172088
7
+ data.tar.gz: 547621f90c74f808e4f47388e46e443b03c0d610ebb87ece71af409a8dcca447af42a488d1163d8dbdb8f16ab6d7019cf0007dc461fc83c099323e914f126102
@@ -167,7 +167,7 @@ class Puppet::Resource::Catalog::Puppetdb < Puppet::Indirector::REST
167
167
  end
168
168
  end
169
169
 
170
- resource['parameters']['alias'] = aliases unless aliases.empty?
170
+ resource['parameters'][:alias] = aliases unless aliases.empty?
171
171
  end
172
172
  end
173
173
 
@@ -214,7 +214,7 @@ class Puppet::Resource::Catalog::Puppetdb < Puppet::Indirector::REST
214
214
  profile("Map aliases to title (resource count: #{resources.count})",
215
215
  [:puppetdb, :aliases, :map_to_title]) do
216
216
  resources.each do |resource|
217
- names = resource['parameters']['alias'] || []
217
+ names = Array(resource['parameters'][:alias]) || []
218
218
  resource_hash = {'type' => resource['type'], 'title' => resource['title']}
219
219
  names.each do |name|
220
220
  alias_array = [resource['type'], name]
@@ -1,6 +1,6 @@
1
1
  module PuppetDB
2
2
  module Terminus
3
- VERSION = "2.3.5"
3
+ VERSION = "2.3.6"
4
4
  UPSTREAM_VERSION = VERSION.split(".")[0..2].join(".")
5
5
  end
6
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: quixoten-puppetdb-terminus
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.3.5
4
+ version: 2.3.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Devin Christensen