chef-icinga2
chef-icinga2 copied to clipboard
[dev.icinga.com #11453] icinga2_environment host templates do not escape incoming data
This issue has been migrated from Redmine: https://dev.icinga.com/issues/11453
Created by hfinucane on 2016-03-25 18:50:16 +00:00
Assignee: vkhatri Status: Assigned Target Version: (none) Last Update: 2016-07-21 15:25:17 +00:00 (in Redmine)
I use add_node_vars pretty heavily, and I've run into an issue- hashes get dumped via `.inspect`, and Ruby hashrockets are not valid Icinga dictionaries in Icinga version 2.4.4.
Attachments
- 0001-Add-function-to-format-ruby-data.patch hfinucane - 2016-03-25 18:52:17 +00:00
- 0002-Be-more-conservative-with-Chef-attributes.patch hfinucane - 2016-03-25 18:52:20 +00:00
- 0003-Add-unit-tests-for-formatting-output.patch hfinucane - 2016-03-25 18:52:23 +00:00
Updated by hfinucane on 2016-03-25 18:52:27 +00:00
- File added 0001-Add-function-to-format-ruby-data.patch
- File added 0002-Be-more-conservative-with-Chef-attributes.patch
- File added 0003-Add-unit-tests-for-formatting-output.patch
hfinucane wrote:
I use add_node_vars pretty heavily, and I've run into an issue- hashes get dumped via `.inspect`, and Ruby hashrockets are not valid Icinga dictionaries in Icinga version 2.4.4.
I've written some patches for this, too, available on github (https://github.com/Icinga/chef-icinga2/pull/46) and attached.
Updated by vkhatri on 2016-07-21 15:25:17 +00:00
- Status changed from New to Assigned
- Assigned to set to vkhatri
PR Merged. Keeping it open for now.
These patches were merged, but the fix was not made for all templates.