Displaying 20 results from an estimated 60000 matches similar to: "Facter - the future - your input needed"
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?
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:
2013 Jun 04
11
Share Hiera configuration between 2 nodes?
Hi,
I am trying to use Hiera in puppet 3 and I have two nodes that both need
the same configuration. In this case they are two web servers which have
the same apache configuration.
Rather than creating two seperate hiera files for node1.yaml and node2.yaml
is there a way to group these by role (e.g. webserver.yaml)? I want to
avoid duplicating the configuration if possible and keep the data
2012 Dec 21
1
Hiera and 'clientcert' fact not working :(
Morning All
I''m trying to use Hiera with Puppet 3.0 to streamline some of my module
configuration...
However I''m having issues using the ''*%{::clientcert}*'' variable as part of
the hierarchy...
Currently, my *hiera.yaml* file looks like:
---
:backends:
- yaml
- json
:yaml:
:datadir: /etc/puppet/hieradata
:json:
:datadir: /etc/puppet/hieradata
2012 Oct 11
3
puppet facts.d executable PROBLEM
Hi folks,
I''m using this
plugin https://github.com/ripienaar/facter-facts/tree/master/facts-dot-d
and I can''t get a fact out of a simple shell script. YAML TXT JSON works
well
My little shell script testfact.sh looks like
#!/bin/bash
echo "TEST=NOT WORKING"
made it executable
chmod +x testfact.sh
made a puppet agent -t to read the new fact
BUT
$facter --puppet
2013 Apr 13
6
facter doesn't load from /ect/facter/facts.d
I''m trying to load custom facts via /etc/facter/facts.d/* according to
instructions on
http://docs.puppetlabs.com/guides/custom_facts.html#structured-data-facts
I must have missed a setting somewhere because I get nothing. The first
clue may be that /etc/facter didn''t exist. I had to create it manually.
Is there a setting or search path I need to create?
Details:
puppet
2010 Oct 22
15
Accessing Facter in other languages than Ruby?
Hi all,
We''re writing a few scripts at the moment that could really make use of
Facter, however the vast majority of them team (including my self!) are not
proficient in Ruby, however they are highly proficient in other languages such
as (dare I say it!) Python.
Is there (or are there any plans to!) release bindings for other languages to
enable facts to be used in scripts other
2012 Nov 05
9
puppetdb postgresql Connection refused
Greetings,
we are trying to setup puppetdb, nut our clients get the following error:
Warning: Unable to fetch my node definition, but the agent run will
continue:
Warning: Error 400 on SERVER: Could not retrieve facts for lxa7t.unix.lan:
Failed to submit ''replace facts'' command for lxa7t.unix.lan to PuppetDB at
puppetdb:8081: Connection refused - connect(2)
Info: Retrieving
2012 Nov 20
2
hiera values issue
Hi, I have a puppetmaster - agent architecture. I have a module for the
vsftpd configuracion in the agents. The configuration of the value
''max_per_ip'' in the agents may vary. This is a line of the manifest:
$max_per_ip = hiera(''max_per_ip'',10)
I want to specify different values for each agent using hiera. The problem
is I am only able to specify the
2012 Dec 14
2
Duplicate declaration for invoking a class
Hi everyone,
Here are the manifest I am using:
In file ''*modules/test/manifest/init.pp*'':
class test (
$test = undef,
) {
notice("Here is the message: ${test}")
}
Now in ''*modules/saas/manifests/client/sudo.pp*'':
class saas::client::sudo {
class { ''test'': }
}
Now in ''*manifests/sites.pp*'':
import
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
2008 Apr 09
9
Expanding Facter's manufacturer.rb
I''ve just filed http://reductivelabs.com/trac/puppet/ticket/1182 with
the aim of making it easier to add fact pickup from dmidecode in
manufacturer.rb.
As the ticket says, I think that the fact sections, keys and values
shouldn''t be hardcoded in manufacturer.rb, but should be stored in a
configuration file somewhere. This means that a given stable
installation of Puppet can be
2012 Jul 11
6
certname doesn't seem to work on the agent
Hi guys,
I have a box that needs to identify itself to the puppetmaster as something
different from the FQDN. I added certname to the agent configuration before
the first run, but it doesn''t seem to be sufficient. The certificate was
generated for the FQDN, and the host appears in the dashboard as the FQDN,
and the node name used to evaluate the manifest is also the FQDN. I would
2011 Jul 06
7
Issue with puppet file serving api not parsing yaml content correctly
I am working on building a facter tag based node classifier similar to
https://github.com/jordansissel/puppet-examples/tree/master/nodeless-puppet/.
However, I have run into an issue where I cannot use puppet''s require
file ability to push the yaml file containing the facts file to the
client because it would require two runs of puppet to pickup changes.
Consequently, I have written into
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
2011 Aug 11
6
Vanishing facts
Hello all,
I am running puppet 2.7.1 with mongrel and an apache proxy. I have been
seeing an issue where it appears that the puppetmaster is completely
ignoring any facts that are sent to it.
When a client connects, any configuration that relies on facts shows
those variables as being empty strings. (I have been testing this with
a simple notify resource that prints out the IP address and the
2013 Apr 22
3
Udefined method `get_uptime` for Facter::Util::Uptime:Module
Hi,
I''m rookie puppet user and I trying to establish simple Server-Client
connection on configuration:
Server: *Fedora F18*, Puppet 3.1.1 (installed by yum), Ruby 1.8.7
Client: *Debian 6.0.6*, Puppet 3.1.1 (installed by guide<http://shapeshed.com/setting-up-puppet-on-ubuntu-10-04/>),
Ruby 1.8.7
Server sign client certificate with success but now I''m struggle with apply
2012 Jun 26
5
Next Problem: Puppet 2.7 + Passenger won't connect
OK. What did I booger up this time ?
agent.myexample.org and puppetmaster.myexample.org are the same server.
----------------------------------------------------------------------------
# puppetd --no-daemonize --onetime --debug --noop
debug: Puppet::Type::User::ProviderUser_role_add: file roleadd does not exist
debug: Puppet::Type::User::ProviderDirectoryservice: file /usr/bin/dscl does not
2011 Nov 01
2
Custom fact not set with mc-puppetd
Hello,
I''ve mcollective 1.2.1 with puppet 2.6.12 on rhel5.6, facter 1.6.2
setup from http://projects.puppetlabs.com/projects/mcollective-plugins/wiki/FactsFacterYAML.
Now I''ve create a custom fact in /usr/lib/ruby/site_ruby/1.8/facter/
customer_status.rb.
On the client;
Running facter customer_status works.
Running ''puppet agent --test'' works, customer_status
2013 Jul 29
2
puppet apply --hiera_config --> Error: Could not find class
Hi there,
I''m running into an problem which I can resolve. It is bugging me for
couple of days now.
Goal: CentOS 6.4 freshly installed incl puppet 3.2.3 and I want to install
puppet master, puppetdb, mod_passenger & apache with "puppet apply". So
when this is complete, I should have an puppet master server running so I
can create new hosts etc.
So this is the command