Hi, On 02/26/2014 03:18 PM, Kenton Brede wrote: > vmw_tools_purge: > - 'PURGE'
not that you are defining an array here, not a string. That would look like vm_tools_purge: 'PURGE' > $vmw_tools_purge = hiera('vmw_tools_purge') > notify { $vmw_tools_purge: } This works because puppet helpfully converts the array to a string by concatenating all elements. > if $vmw_tools_purge == 'PURGE' { This would not work the same way, though. You may verify whether if $vmw_tools_purge == [ 'PURGE' ] does in fact work, but it would be a funny construct anyway. It should be fixed in YAML. Regards, Felix -- 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/530DF98D.4060403%40alumni.tu-berlin.de. For more options, visit https://groups.google.com/groups/opt_out.