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

[dev.icinga.com #11453] icinga2_environment host templates do not escape incoming data #197

Open
icinga-migration opened this issue Mar 25, 2016 · 3 comments
Assignees
Labels

Comments

@icinga-migration
Copy link

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

@icinga-migration
Copy link
Author

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 (#46) and attached.

@icinga-migration
Copy link
Author

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.

@hfinucane
Copy link
Contributor

These patches were merged, but the fix was not made for all templates.

@vkhatri vkhatri self-assigned this Jan 27, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants