Displaying 20 results from an estimated 5000 matches similar to: "uninitialized constant Facter::IPAddress (NameError)"
2009 Jul 01
1
Facter infinite looping on custom facts
Hi All
Background:
I am running Puppet to configure ESX 3.5 servers by NFS mounting the Puppet
binaries and configuration from a shared server. This is to ensure VMware
don''t come back refusing support for installing non standard software on the
server.
# ruby -v
ruby 1.8.7 (2009-04-08 patchlevel 160) [i686-linux]
# facter -v
1.5.5
2010 Apr 08
3
Puppet commands giving nothing but a stack trace
I suspect this has more to do with Ruby than Puppet, but I know little about Ruby and Google has failed me, so I''m asking here.
I''m finally getting some of our older systems brought into Puppet. I installed it on several this morning without incident, but there are two (more or less identical RHEL 5.3 systems) that throw horrible errors. These systems did not have Puppet or Ruby
2010 Oct 21
1
SLES11 facter problems
I installed the 2.6.2 puppet and facter 1.5.8 gems and tried to run
puppet, but it failed with the following message:
err: Could not run Puppet configuration client: Could not retrieve
local facts: uninitialized constant Facter::IPAddress
Then I tried running facter alone:
# facter
/usr/lib64/ruby/vendor_ruby/1.8/facter/ipmess.rb:19: uninitialized
constant Facter::IPAddress (NameError)
After
2012 Nov 06
19
puppet failing to run
I am getting this error after installing puppet with gem
$ gem install puppet
Fetching: facter-1.6.14.gem (100%)
Fetching: puppet-3.0.1.gem (100%)
Successfully installed facter-1.6.14
Successfully installed puppet-3.0.1
2 gems installed
Installing ri documentation for facter-1.6.14...
Installing ri documentation for puppet-3.0.1...
Installing RDoc documentation for facter-1.6.14...
Installing
2008 Jan 08
1
odd facter error with split
Not sure if this is another issue cropping up with 0.24.1 but I''m getting
the following:
info: Loading fact raid
/etc/puppet/facts/location.rb:5: private method `split'' called for
nil:NilClass (NoMethodError)
from /usr/lib/ruby/site_ruby/1.8/facter.rb:510:in `call''
from /usr/lib/ruby/site_ruby/1.8/facter.rb:510:in `value''
from
2011 Jul 06
7
Issue with puppet file serving api not parsing yaml content correctly
I am working on building a facter tag based node classifier similar to
https://github.com/jordansissel/puppet-examples/tree/master/nodeless-puppet/.
However, I have run into an issue where I cannot use puppet''s require
file ability to push the yaml file containing the facts file to the
client because it would require two runs of puppet to pickup changes.
Consequently, I have written into
2008 Jul 08
12
ANNOUNCE: Facter 1.5
Hi all,
I''ve finally gotten around to releasing Facter 1.5.
As the version bump implies, this is a relatively significant release
(for a 2.3k line program, anyway). Mostly, the biggest change is
refactoring the code internally so that all of the functionality is
split into separate classes in separate files.
Also, the facts are all loaded on-demand, which provides dramatic
2008 Jul 01
6
OpenVZ configuration of networking with puppet - big crash
I am trying to streamline the current distribution specific setup and
creation of VE''s within OpenVZ with puppet. My first attempt has gone
horribly wrong as you will see below. Here''s the script I wrote to
replace the redhat specific setup that OpenVZ used:
[jleggett@lxp6d15m3 scripts]$ cat redhat-add_ip.sh
#!/bin/bash
#
# Debug - take out later
set -x
2012 May 11
0
Announce: Facter 1.6.9rc1 Available
Facter 1.6.9rc1 is a maintenance release candidate with bug fixes and
improvements.
It includes contributions from the following people: Jeff Weiss,
Joachim de Groot, Ken Barber, Matthaus Litteken, Moses Mendoza, and
Stefan Schulte.
This release is available for download at:
http://downloads.puppetlabs.com/facter/facter-1.6.9rc1.tar.gz
See the Verifying Puppet Download section at:
2012 Jan 30
2
SLES11: facter without arguments produces Error: uninitialized constant Facter::IPAddress
Hi, I run into problems with the ipaddress fact using the latest
Facter gem (1.6.4, 1.6.5) on SLES11. The versions and gems I use work
perfectly fine on SLES10 SP3.
The problem: running "facter" without arguments results in an error,
even though the erroring fact "ipaddress" is ok.
test:~ # cat /etc/SuSE-release
SUSE Linux Enterprise Server 11 (x86_64)
VERSION = 11
PATCHLEVEL
2014 Jun 26
0
Facter doesnt resolve ipaddress or ipaddress_eth0
Hello list. I am trying to read the IP address of the eth0 interface from a
CentOS 6.5 VM (XenServer).
Running the manifest gives empty values to all of the following vars:
$ipaddress, $ipaddress_eth0, and its $::<name> version. $interfaces has
"eth0,lo".
Running facter from the VM I get:
# facter -v
2.0.1
# facter | grep virtual
is_virtual => true
virtual => xenu
#
2013 Sep 13
27
[windows server 2008 r2] puppet errors in 3.3.0 on exchange database servers
Hi,
i recently updated our windows 2008 r2 servers to puppet 3.3.0 .
Im getting the following error* (only on our exchange 2010 db servers)*ever since:
LevelMessageSourceFileLineTimeerrCould not retrieve local facts: undefined
method `gsub'' for nil:NilClassPuppet13.09.2013 15:12 CESTerrFailed to apply
catalog: Could not retrieve local facts: undefined method `gsub'' for
2009 Dec 09
3
facter 1.5.7 all lsb* items missing
I have 2 RHEL 5.4 systems where all facter lsb* items are missing. Any
ideas?
Sanitized facter output:
architecture => i386
domain => missyou.edu
facterversion => 1.5.7
fqdn => broken.missyou.edu
hardwareisa => i686
hardwaremodel => i686
hostname => broken
id => root
interfaces => eth0,sit0
ipaddress => 1.2.1.5
ipaddress_eth0 => 1.2.1.5
is_virtual => true
2009 Jun 03
4
Facter 1.5.5
Hello,
Since i use facter 1.5.5 i got error running it by hand. It still work
in puppet but i loosed the hability to run it from the command line:
(aqadmin)> /var/lib/gems/1.8/gems/facter-1.5.5/bin/facter
/var/lib/gems/1.8/gems/facter-1.5.5/bin/facter:50:in `require'': no such
file to load -- facter (LoadError)
from /var/lib/gems/1.8/gems/facter-1.5.5/bin/facter:50
2011 Nov 19
2
Facter Windows: domain is "none"
I could swear this worked fine earlier.. Now facter, and hence puppet,
do not see the domain name anymore:
What could cause this?
C:\Temp>facter --version
1.6.2
C:\Temp>facter | findstr kernel
kernel => windows
kernelmajversion => 6.1
kernelrelease => 6.1.7601
kernelversion => 6.1.7601
C:\Temp>facter fqdn
NCS-VDI-05.none
C:\Temp>facter hostname
NCS-VDI-05
2007 Sep 24
2
ANNOUNCE: Facter 1.3.8
I''ve just committed Facter 1.3.8. All of the work for this release
was done by James Turnbull, so everyone should thank him for getting
it done. Here''s the changelog:
Fixed Rdoc::usage bug on CentOS 5 - closed Puppet #753 and
Facter #40
Added support to return multiple interfaces and their IP
addresses and
MAC addressess as facts. Returns
2012 Jun 14
1
facter --yaml leaves some fields blank
Sometimes "facter --yaml" doesn''t list all the values specified on the
command line. I can''t find rhyme nor reason why. Here''s a demo to
show what I mean:
# facter --version
1.5.7
# facter --yaml fqdn macaddress lsbdistcodename
---
fqdn: my.host.name.example.com
lsbdistcodename: squeeze
macaddress: "00:00:00:00:00:00"
We had been using the above
2007 Apr 26
2
[PATCH] facter: add interfaces, default_gateway facts on Linux
Quick and dirty:
--- lib/facter.rb (revision 203)
+++ lib/facter.rb (working copy)
@@ -989,6 +989,18 @@
%x{/usr/sbin/scutil --get LocalHostName}
end
end
+ Facter.add(:interfaces) do
+ confine :kernel => :linux
+ setcode do
+ %x{/sbin/ifconfig -a -s}.split($/)[1..-1].collect {|line|
2010 Jan 22
4
facter question
int he example below I run facter looking for the fact "sp_serial_number". as you can see, the command facter sp_serial_number returns nothing, but the fact is there and is returned when just running facter and grepping for the fact.
Some fact seem to work and others do not. any ideas?
marcuspro:~ allan$ facter --version
1.5.7
marcuspro:~ allan$ facter sp_serial_number
marcuspro:~
2012 May 16
2
Announce: Facter 2.0.0rc1 Available
Facter 2.0.0rc1 is a feature release candidate with bug fixes,
features and other improvements.
Facter 2.0 is designed to accompany the upcoming Puppet 3.0 release
and has breaking changes from Facter 1.6.x. Facter 2.0 is not
backwards compatible with Puppet 2.6 or 2.7.
It includes contributions from the following people: Chris Price,
Daniel Black, Daniel Pittman, Garrett Honeycutt, Gary Larizza,