It's not that simple. Puppet thinks osfamily is 'Linux' whereas facter returns 'RedHat' at the command prompt. On Feb 20, 2013 5:33 PM, "Len Rugen" <[email protected]> wrote:
> I wasn't sure, too many different languages.... I guess for a test you > could code it == RedHat, but we have a lot of RHEL 6 and I suspect would > have hit this somewhere. > > > On Wed, Feb 20, 2013 at 7:12 PM, Nick Fagerlund < > [email protected]> wrote: > >> >> >> On Wednesday, February 20, 2013 5:08:27 PM UTC-8, LenR wrote: >>> >>> CaSe SenSitiVe? RedHat vs. redhat? >>> >>> >>> >> Puppet's == operator is case-insensitive. >> http://docs.puppetlabs.com/puppet/3/reference/lang_expressions.html#equality >> >> If it's a case issue, it's a horrible compatibility-breaking bug. >> >> -- >> 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 [email protected]. >> To post to this group, send email to [email protected]. >> Visit this group at http://groups.google.com/group/puppet-users?hl=en. >> For more options, visit https://groups.google.com/groups/opt_out. >> >> >> > > -- > 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 [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/puppet-users?hl=en. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- 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 [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
