So I've got a variable set in Hiera: --- vmw_tools_purge: - 'PURGE'
In the manifest, the following works fine: $vmw_tools_purge = hiera('vmw_tools_purge') notify { $vmw_tools_purge: } But this does not work. The "if statement" is just ignored and notify isn't triggered. What am I doing wrong? if $vmw_tools_purge == 'PURGE' { notify { $vmw_tools_purge: } } Thanks, -- Kent Brede -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/CA%2BnSE38yx9srQ-R6e-J%2Bd10Yg4s-Tccm8prJkNL7k%2BBM1_SF%2Bg%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out.