similar to: Adding custom facts: documentation added

Displaying 20 results from an estimated 10000 matches similar to: "Adding custom facts: documentation added"

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
2009 Jul 27
4
Custom fact errors
I''m a newbie attempting to get a custom fact distributed to clients. I''ve followed the instructions at http://reductivelabs.com/trac/puppet/wiki/AddingFacts and based my first fact on a simple recipe. I''m having at least one problem and possibly more. 1) Puppet/facter fails to load the custom fact, complaining that "non- sh interpreters are not currently
2007 Aug 28
1
adding facts
Hello, I''m a little confused how to configure the puppermaster and puppetd to add a new fact. I''ve followed this tutorial http://reductivelabs.com/trac/puppet/wiki/AddingFacts but I''m with doubts about the factsource. In my puppetmaster I have the new fact in /etc/puppet/facts directory. fileserver.conf (on puppetmaster server): [files] path /etc/puppet/files [facts]
2010 Apr 07
3
DHCP server and Windows XP clients : set hostname ?
Hi, For the last few years, I've been using exclusively Linux on servers and desktops, so I don't know anything about Microsoft products. When setting up a 100% GNU/Linux LAN, I use a local DHCP and DNS caching server, and then all the clients are configured to use DHCP. Hostnames are all handled by the server. This works very well and never causes any headaches. Now a local town
2007 Apr 05
4
Preferred method for setting customer facts?
I''ve checked out the page on adding custom facts for Facter and I see that there are a number of ways to do this. Is there a preferred method of setting system-wide facts? In this case, I''d like to set a "Location" fact which represents the data centre a server is in. Cheers, James *********************************************************************************
2005 May 27
1
Fwd: Newbie here. Tips on setting up 100 phones wanted.
So in order to answer the background and backbone questions here is the system as it is. I hope this isn't too much for the list but I'll post it in response to a few inquiries. The current system is quite interesting. We have an office in a town that is about 50 miles from the ski area. The ski area is powered 100% of of generators and the telephone access and internet access goes from
2010 May 25
2
Get output values in a table
Hi, I use two similar scripts to put p-values of shapiro.test and, respectively, of wilcox.test in a table: a) d <- data.frame(dataset$GroupFactor, dataset[2:11]) # p-values for the shapiro test (by levels of GroupFactor) with(d, aggregate(d[,-1], list(d[,1]), FUN = function(x) shapiro.test(x)$p.value)) b) d <- data.frame(dataset$GroupFactor, dataset[2:11]) with(d, aggregate(d[,-1],
2006 Dec 21
7
Overriding types?
"Service and class definitions are scoped just as variable assignments are." But what about types? Here''s an example: class solserver inherits server { remotefile { "/etc/shadow": mode => 400, group => staff, source => "solall/etc/shadow.server" } Is it possible to just override the "/etc/shadow" definition for
2006 Dec 14
2
puppet --help fails
$ puppet --help /opt/csw/lib/ruby/gems/1.8/gems/puppet-0.20.1/bin/puppet:103: undefined method `feature'' for Puppet:Module (NoMethodError) from /opt/csw/lib/ruby/1.8/getoptlong.rb:460:in `each'' from /opt/csw/lib/ruby/1.8/getoptlong.rb:457:in `each'' from /opt/csw/lib/ruby/gems/1.8/gems/puppet-0.20.1/bin/puppet:97 from /opt/csw/bin/puppet:18
2006 Dec 19
2
Automating client setups
Is there a Best Practices method for doing this? :) I''m trying to configure clients by ssh''ing to them from the puppetmaster. My steps are: ssh $host ''svccfg import ...'' sleep puppetca --sign $host scp namespaceauth.conf $host ssh $host ''svcadm restart puppet'' The problem is that I''d like to stop and log an error if the cert signing
2007 Sep 17
7
Why does everyone seem to dislike *now?
Greetings, Last week I began researching Asterisk for the first time. I did what most noobs would do; downloaded an image that seemed simple and straightforward and had some credibility (*now). I also downloaded the TFOT version 1 as a guide. As questions arose, I tossed a few out in #asterisckNOW channel..and found it to be a ghost town. Only later did i start to ask a few
2006 Dec 12
3
Variables available in configs...
Is there a list somewhere? How do I know what $operatingsystem, for example, is going to be set to? Using ''solaris'' seems to work, but I haven''t tested ''ubuntu'' and ''redhat'' yet (haven''t gotten that far). It''d be nice to have a list of available vars, along with "how they are set." -Charlie
2006 Dec 30
9
puppetd.pid and SMF woes
So when puppetd crashes/whatever, and a pid file is left behind, SMF in Solaris will try restarting puppet, but fail. And then it sits there restarting it forever. I''m not sure if I can adjust the flap detection in SMF.. it isn''t disabling the service for "restarting too quickly" because it takes so long to start. Probably because I''m NFS-mounting ruby. The
2006 Aug 06
1
creating hash table, how do i? please help
hi, i have a noob question. how do i create a table but add additional fields? for example.. i have a total_table of total, county, and town where total_table inherites county_id and town_id from my town_county table where county_id has_many towns. in my view, id like to go through the hash like this table total_table for total_table.county { print total_table.county print
2004 Aug 04
2
2 sip servers
Good day all I have figured out most/basics of asterisk.I went with sip and made my own sip.conf and extensions.conf No I have 2 servers running sip in different towns.Both is connected with static ip so thats fine,but now. Lets say someone want to call someone else in the other town.How do I get asterisk to know,for instance sip extension 101 is on another sip server on a different ip. And I
2007 May 09
2
Facter docs
Hello there, i cannot find the links to Facter on the site. I saw code with things like :confined and such. Where can i read any docs about how the inner uses of Facter works ? http://reductivelabs.com/projects/facter/custom.html http://reductivelabs.com/trac/puppet/wiki/AddingFacts don''t speak of it. -- Cordialement, Ghislain _______________________________________________
2007 Mar 15
13
puppet standlone hanging when ran via init.d
Hi, I''ve just changed my debian preseed configuration to install the debian unstable package of puppet v0.22.1. As part of the preseed I have a late command that clobbers the /etc/init.d/puppet file into using the puppet standalone program and not the puppetd (as this is what I''m using). Since the upgrade to 0.22.1 every boot hangs during the initd. Going into standalone mode
2012 Oct 23
1
Extracting results from Google Search
Dear list, I have a long list of towns in Africa and would need to get their geographical coordinates. The Google query [/TownName Country coordinates/] works for most of the TownNames I have and give a nicely formatted Google output (try Ingall Niger coordinates for an example). I would like to launch a loop on the list of names I have and automatically extract the coordinates given by Google.
2007 Oct 11
4
Specifying geographic related facts
Let''s say I have two different geographic sites. They are pretty much identical ie. each site has a machine called web1 which is a web server, etc. Except there are couple site-specific settings ie. outgoing DNS servers are different, SSL certs are different etc. On the puppetmaster I can put in a file called e.g. /etc/sideid which would uniquely identify a site ie. siteX or siteY.
2005 Dec 23
2
Bizarre problems with AJAX / missing variables
I''m having some really weird problems with an app I''m writing. Everything is working as expected on my development machine (OSX, Rails 0.14.4) but is cacking out with weird errors on the Textdrive demo site (FreeBSD, Rails 1.0.0). It complains about missing variables, with errors like this: undefined local variable or method `rawcode'' for