I've run into an odd one on one of my new RHEL 6 boxes.  Puppet and Facter
seem to disagree about the value of a fact.

Puppet version: 2.7.9
Facter version: 1.6.4

Module: puppetlabs-apache

apache::params falls through its if structure:
 if $::osfamily == 'redhat' or $::operatingsystem == 'amazon' {
...
 } elsif $::osfamily == 'debian' {
...
 } else {
    fail("Class['apache::params']: Unsupported operatingsystem:
$::operatingsystem or osfamily: $::osfamily")
  }

The module returns the following error:
Error 400 on SERVER: Class['apache::params']: Unsupported operatingsystem:
RedHat or osfamily: Linux

Facter, however, seems to think osfamily is 'RedHat' as it should be:
facter -p osfamily
RedHat

It's very strange.  Have any of you seen this one before?

-- 
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 post to this group, send email to puppet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to