Skip to content
This repository has been archived by the owner on Nov 6, 2024. It is now read-only.

rewrite icinga2* resources #321

Open
vkhatri opened this issue Jun 25, 2018 · 0 comments
Open

rewrite icinga2* resources #321

vkhatri opened this issue Jun 25, 2018 · 0 comments
Assignees

Comments

@vkhatri
Copy link
Member

vkhatri commented Jun 25, 2018

Currently, each defined resource iterates over all icinga2 resources to format the final template file objects. It causes slowness for the larger objects/resources.

A possible solution is to modify https://github.com/Icinga/chef-icinga2/blob/master/libraries/provider_instance.rb#L26 to prevent resources iteration for each defined resource.

Also, it is worth considering Chef LWRP resources too. But, not sure how it will affect the template/zone/object formation.

@vkhatri vkhatri self-assigned this Jun 25, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant