On Wednesday, February 20, 2013 8:11:20 PM UTC-6, Aaron Grewell wrote:
It's not that simple. Puppet thinks osfamily is 'Linux' whereas facter
returns 'RedHat' at the command prompt.
I can only assume, then, that the facter you are running from the command
line is not the same (or
I've checked, but there's only one set of RPMs installed and the facter
binary points to those.
# rpm -qa | grep puppet
pe-puppet-enterprise-release-2.0.3-0.pe.el6.noarch
pe-puppet-2.7.9-3.pe.el6.noarch
pe-rubygem-puppet-module-0.3.4-2.pe.el6.noarch
rpm -qa | grep facter
On Thursday, February 21, 2013 11:08:18 AM UTC-6, Aaron Grewell wrote:
I've checked, but there's only one set of RPMs installed and the facter
binary points to those.
# rpm -qa | grep puppet
pe-puppet-enterprise-release-2.0.3-0.pe.el6.noarch
pe-puppet-2.7.9-3.pe.el6.noarch
Argh, never mind. It's a garden variety client-server version mismatch. I
must've grabbed the wrong version when building the image.
--
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
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 ==
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.
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
nick.fagerl...@puppetlabs.com wrote:
On Wednesday, February 20, 2013
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 lenru...@gmail.com 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