Title: Message Title
Ranjit Viswakumar commented on an issue
Puppet / Bug PUP-3333
Selector and case incorrectly maches strings as float
Facter reports:
kernelmajversion => 3.10

Running the following code:
$somevar = $::kernelmajversion ? {
  '3.1' => 'This is kernel version 3.1',
  '3.10' => 'This is kernel version 3.10',
}
notice($somevar)

produces output:
Notice: Scope(Class[Main]): This is kernel version 3.1

It seems like Puppet is doing some magic type conversion and...


--
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.

Reply via email to