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