Displaying 20 results from an estimated 592 matches for "facter".
2009 Jul 01
1
Facter infinite looping on custom facts
...ing 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
RUBYLIB=/apps/puppet/puppet/lib:/apps/puppet/facter/lib:/data/puppet/lib
I have 2 custom Ruby fact files in /data/puppet/lib/facter which follow
http://reductivelabs.com/trac/puppet/wiki/AddingFacts
dc_loc.rb (http://pastie.org/530294) - reads a file generated during a
kickstart with th...
2009 Apr 24
4
uninitialized constant Facter::IPAddress (NameError)
I just started getting this error on some machines after a yum update
from centos 5.2 to centos 5.3. Does anyone know what it means? Since
I''m not a ruby person, I''m not sure how to debug this, but it looks to
me like facter is having trouble parsing information about my
interfaces.
# facter
/usr/lib/ruby/site_ruby/1.8/facter/ipmess.rb:19: uninitialized constant
Facter::IPAddress (NameError)
from /usr/lib/ruby/site_ruby/1.8/facter/util/loader.rb:72:in `load''
from /usr/lib/ruby/site_ruby/1.8/facter/util/loader...
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 (x8...
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: u...
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 --versio...
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 /usr/lib/ruby/site_ruby/1.8/facter.rb:355:in `value''
from /usr/lib/ruby/site_ruby/1.8/facter.rb:352:in `each''
from /usr/lib/ruby/site_ruby/1.8/facter.r...
2011 Apr 07
12
Mutliple custom facts not showing in facter
Hi,
I''ve noticed that defining multiple facts in one file is possible, and
puppet can make use of them correctly, but when trying to call with facter
--puppet they are not shown, do I need something special to make them work
as any other single custom fact?
Master is running 2.6.7
This is a custom fact with two facts in it:
[modules/foobar/lib/facter/foobar.rb ]
require ''facter''
Facter.add("foo") do
setcode do...
2010 Apr 09
2
Custom facts for a puppetmasterless environment
I see the instructions for creating custom facter recipes here:
http://projects.reductivelabs.com/projects/puppet/wiki/Adding_Facts
and in this thread, James Turnbull suggests that Facter might some day
support other languages besides ruby:
http://groups.google.com/group/puppet-users/browse_thread/thread/8c127ae8898d3bcf/c5ca551b77c4eb67?lnk=gs...
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:...
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...
2013 Sep 18
1
All nodes stopped reporting to puppet enterprise console
...s stopped.
I''ve scanned all the pe- logs, but I don''t see anything that stands out.
Any help would be appreciated.
[root@Puppet ~]# getenforce
Disabled
[root@Puppet ~]# puppet agent -t
info: Retrieving plugin
info: Loading facts in
/etc/puppetlabs/puppet/modules/firewall/lib/facter/iptables_persistent_version.rb
info: Loading facts in
/etc/puppetlabs/puppet/modules/firewall/lib/facter/iptables_version.rb
info: Loading facts in
/etc/puppetlabs/puppet/modules/firewall/lib/facter/ip6tables_version.rb
info: Loading facts in
/etc/puppetlabs/puppet/modules/win_facts.old/lib/fact...
2007 Apr 25
12
Facter repository
Is there a repository of Facter plugins that people have made? I''m working
on a few that i wouldn''t mind sharing when complete.
2009 May 19
5
facter lsbdistid returns no result
Hi all, I am creating a recipe for rhel boxes which needs to
determine what type of install is present (server or client). I
thought I would use the facter fact lsbdistid for this purpose but
when I run "facter lsbdistid" from the command line nothing is
returned. If I just run facter and grep for lsbdistid, what I am
looking for is returned. Does anyone know why this might be? Thanks
for your help.
--~--~---------~--~----~------------~...
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...
Installin...
2009 Jan 29
32
Facter - the future - your input needed
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi all
We''re currently looking at the next release of Facter and the future
direction of the tool. I''d like to try and prompt some discussions on
facter and what people want from it.
As a starter here''s some (although not all) of the ideas we''ll be
working through:
1. Namespaces - add a namespace or tiered namespace to Facter,...
2013 May 14
3
PuppetDB "Failed to submit 'replace facts' command"
...consistent about which nodes are causing the error and I can''t find anything else going on at the same time on either the master or the agent that these errors happen.
Here are the logs from a previous event
The puppet client log:
Retrieving plugin
Loading facts in /var/lib/puppet/lib/facter/pe_version.rb
Loading facts in /var/lib/puppet/lib/facter/root_home.rb
Loading facts in /var/lib/puppet/lib/facter/classes.rb
Loading facts in /var/lib/puppet/lib/facter/puppet_enabled.rb
Loading facts in /var/lib/puppet/lib/facter/puppetdb_keystore_pw.rb
Loading facts in /var/lib/puppet/lib/facter...
2012 Aug 31
0
Announce: Facter 1.6.12-rc1 available
Facter 1.6.12-rc1 is a maintenance release candidate in the 1.6.x
branch with bug fixes.
Downloads are available at:
* Source: https://downloads.puppetlabs.com/facter/facter-1.6.12-rc1.tar.gz
RPMs are available at https://yum.puppetlabs.com/el or /fedora
Rubygem available at http://rubygems.org/gems/...
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...
2012 Sep 11
0
Announce: Facter 1.6.12 Available
Facter 1.6.12 is a maintenance release in the 1.6.x branch with bug fixes.
Downloads are available at:
* Source: https://downloads.puppetlabs.com/facter/facter-1.6.12.tar.gz
RPMs are available at https://yum.puppetlabs.com/el or /fedora
Rubygem available at http://rubygems.org/gems/facter
Debs are av...
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...