voxpupuli / puppet-zabbix

Puppet module for creating and maintaining zabbix components with puppet.
https://forge.puppet.com/puppet/zabbix
Apache License 2.0
80 stars 228 forks source link

Avoid deprecated hiera_hash function #798

Closed XMol closed 1 year ago

XMol commented 2 years ago

Pull Request (PR) description

Introduce module Hiera data with pre-defined merge behaviour for zabbix::userparameter::data.

This Pull Request (PR) fixes the following issues

Fixes #777


As of now, there are no spec tests for the newly introduced module Hiera hierarchy and merge behaviour. I've googled around a bit and could not find a solution to integrate into this module easily. Though if you have any examples where spec tests are already implemented for a voxpupuli project with static Hiera data, I'd be willing to try that myself.