similar to: Expanding Facter's manufacturer.rb

Displaying 20 results from an estimated 10000 matches similar to: "Expanding Facter's manufacturer.rb"

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?
2007 Dec 19
3
Facter operatingsystemrelease on CentOS
I found that has been fixed in Fedora and RedHat which return the version ( like 5, 7, 8 etc.. ) but in CentOS, it still return the kernel version instead. ================= Barrow Kwan ThoughtWorks, Inc. New from ThoughtWorks: Mingle, an Agile project management application. Mingle. Project Intelligence. Powerfully Simple. More at http://studios.thoughtworks.com
2009 Apr 26
5
Factor questions
Hello, I''m new to puppet and facter. Initially we are planning on using facter/puppet to inventory machines (Mac, Ubuntu, and RHEL). We plan on writing a number of custom facts. Obviouly some of the facts will only be specific to some OSs. I know there is a "confine" method, but it confuses me. It seems the confine statement in some of the recipes and in the Turnbull book is
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.
2007 Oct 04
5
use client''s server variable instead of $servername?
Our puppetmaster runs on a host with multiple interfaces connected to various private networks, with different hostnames for each IP. I''m trying to use $servername in modules to copy files over a private network, but this is always set to the public hostname of the server. That route is blocked by a firewall. Is there a way to use the server variable in puppet.conf in manifests?
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
2007 Nov 23
9
Usage of ''case'' in site.pp
Hi Does anyone know if the following is supposed to work? ------------------------------------------------------ site.pp case $psi_rank { Devel: { import "Devel/psi_gfa/*" import "Devel/nodes" import "Devel/os/yum_update" } Prod: { import "Prod/psi_gfa/*" import "Prod/nodes" import
2009 Mar 23
7
ANNOUNCE: Puppet 0.24.8 now available!
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Puppet 0.24.8 is now available! This is a maintenance release for the 0.24.x branch but contains a small number of new features including some significant performance enhancements for large installations and stored configurations. The tarball is available at: http://reductivelabs.com/downloads/puppet/puppet-0.24.8.tgz MD5 hash:
2008 Apr 07
10
setting environment variables
Hi all, I''m running Puppet on FreeBSD and recently I started building my own packages. I would like to set the PKGROOT variable on all hosts so that packages are fetched from my server instead of freebsd.org. Is it possible to set this with puppet? I''ve read the suggestion on Trac [1], and it solves the problem when puppet is run with an rc script, but it won''t work
2007 Oct 19
3
Puppet port/install on FreeBSD & Open BS
Does anyone know how to install puppet as client on FreeBSD & OpenBSD. -- Deepak _______________________________________________ Puppet-users mailing list Puppet-users@madstop.com https://mail.madstop.com/mailman/listinfo/puppet-users
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
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
2011 Jan 26
3
You cannot save facts to the code store; it is only used for getting facts from Facter
I have successfully updated puppet clients from my master using the built-in WEBrick server. When I updated my setup to using Apache2+passenger, my clients get this error message: err: Could not retrieve catalog from remote server: Error 400 on SERVER: You cannot save facts to the code store; it is only used for getting facts from Facter warning: Not using cache on failed catalog err: Could not
2007 Dec 04
7
anyone using generate()?
I was playing around with the generate() function and was wondering if anyone was making us of it. The current way I''m attempting to use it is to determine what the homedir of a given user is. I have: --- $homedir = generate("/bin/sh", "-c", "grep ^${name} /etc/passwd | cut -d: -f6") --- which returns what I expect it to return except that it preserves the
2009 Oct 27
14
ANNOUNCE: Puppet 0.25.1 released!
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Puppet 0.25.1 - code name "zoot" - is now available. The 0.25.1 release is a maintenance release in the 0.25.x branch. The release is available at: http://reductivelabs.com/downloads/puppet/puppet-0.25.1.tar.gz http://reductivelabs.com/downloads/gems/puppet-0.25.1.gem Please report issues and feedback via the Reductive Labs Redmine site:
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=gst&q=facter+perl#c5ca551b77c4eb67 He writes:
2007 Oct 29
12
Boolean expressions
I''m trying to write a wrapper definition for the file type to make it a bit smarter. I have a basic version working fairly well: define xfile($owner = root, $group = root, $mode = 644, $source, $backup = main, $recurse = false, $ensure = file) { file { $name: mode => $mode, owner => $owner, group => $group, backup => $backup, recurse
2010 Aug 28
1
ANNOUNCE: Facter 1.5.8
For 40 days and 40 nights Facter wandered in the wilderness sustained only by the occasional patch and bottle of Kool-Aid. Slightly less tanned and equally happy Facter 1.5.8 has arrived! 1.5.8 is a feature and maintenance release containing a number of fixes, updates and additional tests. You can get the release at: http://reductivelabs.com/downloads/facter/facter-1.5.8.tar.gz Please log any
2008 May 02
4
Functions vs. Module Plugins vs. Facts
Hey all, I am trying to get a modified hostname (converting "blah-1234567" to "1234567") to use in my manifests and templates. I have it working for templates by using Ruby (*<%= hostname.split(''-'').pop.downcase %>*) but I haven''t been able to use it in manifests because they don''t process ERB. The way I see it I could do one of two
2008 Apr 12
8
Question: Do all puppetd run at the same time?
(I know more questions... :-)) I know the default for puppetd is to check puppetmasterd every half hour, but my question does each puppetd check at the same time? Or does it depend when puppetd is started or like a cronjob does it run at the 1/2 hour and hour mark? Is there some randomness to the times they run? My point is if they all run at the same time then if you have a large amount of