Displaying 13 results from an estimated 13 matches for "facterlibs".
Did you mean:
facterlib
2007 Jul 17
5
Recommended way to set $FACTERLIB?
Is there a recommended way to set $FACTERLIB so that Puppet will be able
to access custom facts when running as a Red Hat service?
If I export $FACTERLIB=/var/puppet/facts and then run Puppet manually I
have no problems, but I''m not sure how I should be setting $FACTERLIB
when Puppet is running automatically.
Cheers,
James
2007 Sep 13
2
Weird Facter behaviour
I have a custom fact. It syncs correctly, works correctly everywhere
when run via ''facter'', and works correctly from puppet on all but one
machine.
>From ''facter'':
# export FACTERLIB=/var/puppet/facts
# /opt/puppet/bin/facter itg_location
mel
But from within puppetd I get:
Sep 13 14:54:29 hordac puppetd[768]: [ID 702911 daemon.warning] Could not load fa
2008 Dec 01
2
configuring puppet to run custom facts
Hi,
I''m following
http://reductivelabs.com/trac/puppet/wiki/PluginsInModules in order to
use a custom fact.
My modules looks like:
# ls manifests/modules/network/
manifests plugins
# ls manifests/modules/network/plugins/facter/primaryint.rb
manifests/modules/network/plugins/facter/primaryint.rb
as is said in doc.
Then:
Turn on pluginsync and specify factpath, so that the facts
2007 Aug 19
6
Problem with adding custom facts
Hi
I''m trying to add extra facts to facter. The puppetd is running on
Debian Etch Amd64 as Xen 3.1 guest. I''ve follow the Wiki on adding
the facts.
First I used relative path in the manifest and added "factsync=true"
in client''s puppetd.conf. And then tested it with "puppetd -vt". But
no matter what i tried, this error came:
File paths must be fully
2013 Sep 11
4
getting array of hostnames of clients
I need to get an array of hostnames of clients of the puppet server.
There doesn''t seem to be a simple way to do this so I''ve tried a few
methods.
I''ve tried a curl expression in a fact like this:
curl -s -k -H "Accept: yaml"
https://localhost:8140/production/facts_search/search?facts.nodetypet=testnodes
where I''ve got a nodetype fact which works
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
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:
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,
2011 Mar 05
1
err: Could not run Puppet configuration client: Parameter require failed: No title provided and "" is not a valid resource reference
...=> "/usr/local/bin/launch-puppet",
user => "root",
minute => ip_to_cron(2),
require => [ File["/var/log/puppet"], File["/usr/local/bin/
launch-puppet"], File["/etc/profile.d/puppet.sh"], File["/etc/
profile.d/facterlibs.sh"] ],
} # cron
# setup paths
file { "/etc/profile.d/puppet.sh":
owner => "root",
group => "root",
mode => "0755",
content => template("puppet/profile.d/
puppet_gembased.sh.erb"),...
2007 Jun 14
1
Custom facts not being displayed
I''ve added some custom facts to my Puppet setup but they aren''t being
displayed by facter. I''ve tested them and they work correctly when run
manually (and I''ve also tried a number of those listed on the wiki) but
they aren''t included in facter''s output.
I am using the default settings for factdest and factpath and the facts
are being copied
2012 Mar 23
11
Plugins and Hiera
Dear all,
This is a continuation of another thread, but I think the question diverged
enough to create a new one.
I have a hiera hierarchy like this:
:hierarchy:
- %{fqdn}
- %{secundary_group}
- %{primary_group}
- %{productname}
- all
And I need to define the secondary/primary groups as facts, on the nodes. Gary
has suggested me to use plugins, that they will provide the facts before
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
2013 Oct 13
24
exporting custom facts to puppet agents
Dear all,
I have a custom fact, that reads a file and then generate the values
dynamically based on the file content. It''s something like this:
inFile = "/home/admin/OSs.txt"
> gos = {}
>
> if File.exist?(inFile)
> open(inFile, ''r'').each do |line|
> next if line =~ /^\s*(#|$)/
> parts =