Refactor hiera lookup for security mirrors slightly
authorTollef Fog Heen <tfheen@err.no>
Fri, 2 Feb 2018 06:42:38 +0000 (07:42 +0100)
committerTollef Fog Heen <tfheen@err.no>
Fri, 2 Feb 2018 06:42:38 +0000 (07:42 +0100)
commit2e651d6756810651c654a0e5ced7ebfdde93d0f0
treec3bbd887fff5e8a10c66f4131c74b2cb677a3b5f
parent5a26671ea78d7e76e07be3317461623ec379cd81
Refactor hiera lookup for security mirrors slightly

Since the structure is a list of hashes (for vaguely historical
reasons), we need to unpack the result from hiera before doing the
filtering and selection of the backends.
modules/roles/manifests/security_mirror.pp