Jira (PUP-6300) Float from hiera is not auto converted into string

2016-05-16 Thread Henrik Lindberg (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Henrik Lindberg updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet /  PUP-6300 
 
 
 
  Float from hiera is not auto converted into string  
 
 
 
 
 
 
 
 
 

Change By:
 
 Henrik Lindberg 
 
 
 

Component/s:
 
 Puppet Server 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-bugs@googlegroups.com.
Visit this group at https://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (PUP-6300) Float from hiera is not auto converted into string

2016-05-16 Thread Henrik Lindberg (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Henrik Lindberg commented on  PUP-6300 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Float from hiera is not auto converted into string  
 
 
 
 
 
 
 
 
 
 
It behaves as expected. If you want something to be a string use quotes. A version "number" is always a string since it can be something like "4.4.0.alpha.42". 
The documentation points out that if you are using numbers (that is integer and float values), and you then interpolate them, then that numeric to string conversion will use base 10 (decimal) for the conversion. That has nothing to do with what you are doing here. What it is pointing out is the effect of doing something like this: 
[code:puppet} $octal_value = 0777 notice "The value is $ {octal_value} 
" 
 

Will notice "The value is 511" 
 
 
 
 
 
 
  
 
 
 
 
 

 
 
I am closing this ticket as puppet/hiera works as intended. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To 

Jira (PUP-6300) Float from hiera is not auto converted into string

2016-05-16 Thread Poil (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Poil created an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet /  PUP-6300 
 
 
 
  Float from hiera is not auto converted into string  
 
 
 
 
 
 
 
 
 

Issue Type:
 
  Bug 
 
 
 

Affects Versions:
 

 PUP 3.8.7 
 
 
 

Assignee:
 

 Unassigned 
 
 
 

Components:
 

 Puppet Server 
 
 
 

Created:
 

 2016/05/16 6:06 AM 
 
 
 

Environment:
 
 
CentOS 7 
 
 
 

Priority:
 
  Normal 
 
 
 

Reporter:
 
 Poil 
 
 
 
 
 
 
 
 
 
 
In hiera I have 
 
 
 
 
 
 
mysql::version: 4.4