search for: loadfact

Displaying 7 results from an estimated 7 matches for "loadfact".

Did you mean: loadfacts
2009 Jul 01
1
Facter infinite looping on custom facts
...nerates the important "location" fact. facts.rb (http://pastie.org/530296) - Uses the "location" fact to load up location specific file with site specific configuration. It uses the rescue call as describe in "Adding Facts": begin Facter.location rescue Facter.loadfacts() # Line 22 end Most of the time, facter works # facter architecture => i386 . esx_version => 3.5.0u3 facterversion => 1.5.5 . . location => HERE . . However, sometimes, some servers (I can''t see a pattern yet) will have facter go into an infinite loop until there is no mor...
2008 Oct 14
2
Fact load failure
...9:in `loaddir'' from /usr/lib/ruby/site_ruby/1.8/puppet/network/client/master.rb:415:in `each'' from /usr/lib/ruby/site_ruby/1.8/puppet/network/client/master.rb:415:in `loaddir'' from /usr/lib/ruby/site_ruby/1.8/puppet/network/client/master.rb:431:in `loadfacts'' from /usr/lib/ruby/site_ruby/1.8/puppet/network/client/master.rb:430:in `each'' from /usr/lib/ruby/site_ruby/1.8/puppet/network/client/master.rb:430:in `loadfacts'' ... 7 levels... from /usr/lib/ruby/site_ruby/1.8/puppet/util/subclass_load...
2007 Jan 10
7
Problem adding facts ...
I have created my first ''fact'', first attempt at Ruby too, and configured the fileserver to server it but when a Fedora (5 or 6) client sync''s puppetd appears to hang. CentOS clients sync and use the new fact fine. Find attached the fact file and the output from ''puppetd --debug --factsync'' on a FC5 client is below. This is a 0.20.1 client and
2009 Jan 15
8
Pattern matching in case statement
Hi all, I need my servers to decide which network they are in (i.e. dmz), and the only clue is the servers IP-address. I was trying to accomplish it like this, but it doesn''t work: case $ipaddress { "10.1.1.*": { $network = "net1" } "10.2.2.*.*": { $network = "net2" } "10.3.3.*": {
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:~
2011 Jul 06
7
Issue with puppet file serving api not parsing yaml content correctly
....8/facter/util/loader.rb: 30:in `each'' /opt/ruby-1.8.6-p287/lib/ruby/site_ruby/1.8/facter/util/loader.rb: 30:in `load_all'' /opt/ruby-1.8.6-p287/lib/ruby/site_ruby/1.8/facter/util/collection.rb: 94:in `load_all'' /opt/ruby-1.8.6-p287/lib/ruby/site_ruby/1.8/facter.rb:218:in `loadfacts'' /opt/ruby-1.8.6-p287/lib/ruby/site_ruby/1.8/puppet/configurer/ fact_handler.rb:61:in `reload_facter'' /opt/ruby-1.8.6-p287/lib/ruby/site_ruby/1.8/puppet/configurer/ fact_handler.rb:18:in `find_facts'' /opt/ruby-1.8.6-p287/lib/ruby/site_ruby/1.8/puppet/configurer/ fact_han...
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