Open icinga-migration opened 9 years ago
Updated by mfrosch on 2015-12-11 09:48:44 +00:00
Updated by mfrosch on 2015-12-11 09:49:27 +00:00
We could move the create_resources over to a icinga2::object class, which should auto-bind the params from hiera.
Updated by ziaunys on 2016-01-13 00:48:52 +00:00
lazyfrosch wrote:
We could move the create_resources over to a icinga2::object class, which should auto-bind the params from hiera.
The only problem with doing that is that it wouldn't have the same behavior as using hiera_hash since it actually does a merge of hashes from various levels of the hierarchy. I'm honestly of the opinion that we should delete the icinga2::objects class because if users want to use create_resources and hiera_hash they can do it in the context of a profile. I'm not convinced this class provides a whole lot of value.
This issue has been migrated from Redmine: https://dev.icinga.com/issues/9148
Created by arioch on 2015-04-21 22:13:07 +00:00
Assignee: (none) Status: New Target Version: 1.0.0 Last Update: 2016-01-13 00:48:52 +00:00 (in Redmine)
If we ever want to get this module Puppetlabs approved we need to move Hiera outside the module.
All this needs to be refactored:
Attachments
Relations: