WIP: Do not pre-filter based on environment
This commit is contained in:
parent
32bb734f56
commit
a90aba4365
|
@ -31,7 +31,9 @@ class Puppet::Resource::Redis < Puppet::Indirector::REST
|
|||
#
|
||||
key = "catalog_#{host}_#{environment}"
|
||||
resources = []
|
||||
keys = redis.keys("catalog_*_#{environment}")
|
||||
# With puppetdb, resources are picked up regardless of environment,
|
||||
# and the user may choose to filter or not in the collector.
|
||||
keys = redis.keys("catalog_*")
|
||||
keys.each do |k|
|
||||
next if k == key
|
||||
catalog = JSON.parse(redis.get(k))
|
||||
|
|
Loading…
Reference in New Issue