----- Original Message -----
> From: "Dirk Heinrichs" <d...@recommind.com>
> To: puppet-users@googlegroups.com
> Sent: Tuesday, May 27, 2014 7:01:20 AM
> Subject: [Puppet Users] Hiera lookup bug?
> 
> Hi,
> 
> I'm facing a strange problem with Hiera, where a trailing 0 (zero) is
> cut off a value, for example:
> 
> myclass::version: 1.10
> 
> resolves to 1.1 when the class is applied on an agent.
> 
> The agent runs Puppet 3.4.3 with Hiera 1.3.1 on Windows Server 2008R2.
> 
> As a workaround I'm now passing the value to the class as a default
> parameter instead of through hiera.
> 
> Any ideas how to fix this?

Quote the number, 1.10 is a string 

-- 
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/1771982498.99.1401178520196.JavaMail.zimbra%40devco.net.
For more options, visit https://groups.google.com/d/optout.

Reply via email to