Icinga / puppet-icinga2-legacy

(legacy) Puppet module for Icinga 2 (EOL)
GNU General Public License v2.0
55 stars 93 forks source link

Print values unquoted in apply dependency template. #224

Closed n00by closed 7 years ago

n00by commented 7 years ago

Remove quotes from values in template. This makes it possible to use variables as value, e.g.

icinga2::object::apply_dependency { 'vm-host-to-parent-master': parent_host_name => 'host.vars.vm_parent', ... }

To use a string as value, set quotes in the config, e.g.

icinga2::object::apply_dependency { 'vm-host-to-internet': parent_host_name => '"core-router"', ... }