You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 16, 2018. It is now read-only.
Created by pregopresto on 2016-03-07 21:46:58 +00:00
Assignee: (none)
Status: New
Target Version: (none)
Last Update: 2016-03-12 22:19:19 +00:00 (in Redmine)
After successful implementation of #9107 I can not see how to create a vars += config entry using the puppet module anymore. Can this be implemented again?
The text was updated successfully, but these errors were encountered:
Updated by pregopresto on 2016-03-07 22:18:09 +00:00
Note: I achieved this with modifying the apply_service template as follows:
<%- if @vars.empty? != true -%>
<%- if @vars.is_a?(Hash) -%>
vars += <%= scope.function_icinga2_config_value([@vars]) %>
<%- else -%>
vars += <%= @vars %>
<%- end -%>
<%- end -%>
and I removed the validate_hash($vars) from the apply_service.pp but there must be prettier ways...
This issue has been migrated from Redmine: https://dev.icinga.com/issues/11326
Created by pregopresto on 2016-03-07 21:46:58 +00:00
Assignee: (none)
Status: New
Target Version: (none)
Last Update: 2016-03-12 22:19:19 +00:00 (in Redmine)
After successful implementation of #9107 I can not see how to create a vars += config entry using the puppet module anymore. Can this be implemented again?
The text was updated successfully, but these errors were encountered: