Displaying 20 results from an estimated 3000 matches similar to: "Fwd: Re: Using custom facts in Puppet"
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
2011 Jul 01
0
pluginsync fails to load custom facts or providers
possibly related to (or the same as) issues 4830 and 2244, i''m getting
errors when adding a custom fact and provider to a module to propagate
to clients.
am i missing something here? i tried the workaround of adding a
fileserver.conf to the master (referenced below and in the tickets)
with no change.
thanks for any help.
here''s a pile of details:
puppetmaster 2.6.9 is running
2010 Mar 09
0
puppetd --test
Hi all,
I have installed and configure puppet client in new virtual machine, but I
have this error when running
*puppetd --test (even if I run /etc/init.d/puppet restart)
/usr/lib/ruby/1.8/puppet/defaults.rb:136:in `handle'': Invalid environment
test (ArgumentError)
from /usr/lib/ruby/1.8/puppet/util/settings.rb:299:in `parse''
from
2009 Dec 21
5
custom fact and environment variable
Hello,
I''m trying to add an environment variable as fact like this :
#export $FACTER_test="infof"
#facter | grep test
test => infof
But my fact don''t synchronize with puppet master. I don''t see it in /
var/puppet/yaml/clientfile.yaml
If I want this works, I''ve need to start puppet like this :
#puppetd -vt --factsync
but factsync''s
2008 May 30
2
pluginsync factsync etc
Hi,
When starting puppet on a new machine, (or when the $vardir/lib is empty)
puppet will not run the facts, it will only copy them.
on the second time puppet runs, it works quiet well:
on the client its defined:
[main]
pluginsync = true
pluginsource = puppet://$server/plugins
plugindest = $vardir/lib/puppet
factpath = $vardir/lib/puppet/facter
[puppetd]
factsync = true
I also tried with
2013 Oct 30
4
Warning: Local environment: "42A" doesn't match server specified node environment "production", switching agent to "production"
Hi,
When I run puppet agent --test --environment 42A, I have the following
warning :
Warning: Local environment: "42A" doesn''t match server specified node
environment "production", switching agent to "production".
...
The puppet manifest for the environment "42A" isn''t applied.
The puppet version is 3.3.1-1puppetlabs1 on agent and
2008 Apr 02
2
Problem implementing multiple Environments
I am trying out having multiple environments so that I can push a test
config to a single server in production. The idea being that I could
push out a config change to one server and see if the change works in
production. If it does then I can merge the change into the
production environment and push the change out to all the clients.
So to test this I made a change to a config file in testing
2009 Dec 03
1
Could not retrieve catalog
Hello all,
I''m running puppet for the first ime. I''ve finished the install but
I''m stuck at the certificate part.
The puppet master (0.24.4-3) is running on Ubuntu Lenny and the puppet
client (0.24.8-4.el5) is running on CentOS 5.3.
After the install, from the client side, I''ve run:
puppetd --server puppetmaster.domain.com --waitforcert 60 --test
On the
2013 Nov 28
1
puppet-users-br err: Could not retrieve catalog from remote server: SSL_connect returned=1 errno=0 state=unknown sta
Just installed the puppet master server in
and the client just installed the puppet
I managed to sign the certificates
root@Puppetmaster:/etc/puppet# puppet cert --list --all
+ "puppetclient" (96:9A:C3:8D:B6:72:A4:5F:01:AA:40:A9:95:3E:FB:D2)
+ "puppetmaster" (12:92:DF:EB:72:E5:DF:99:D8:22:CA:5F:22:3A:1D:61)
at the time I create the file site.pp in / etc / puppet / manifests
2009 Jan 07
0
Re: Noob - What means "Cannot access mount[plugins]" ? [SOLVED]
2009/1/6 Robin Lee Powell <rlpowell@digitalkingdom.org>
>
> On Tue, Jan 06, 2009 at 11:23:56AM +0100, Olivier wrote:
> > Hi,
> >
> > I''m new to Puppet.
> > I installed Puppet on Debian Lenny (version is 0.24.5).
> >
> > When I''m trying to use puppet locally (on the machine I installed
> > puppetmaster on), I keep getting
2009 Sep 03
2
Problems with puppetd on ubuntu server
If you install puppet from the ubuntu 9.04 repositories (apt-get
install puppet) it sets up puppet differently than the gem. The
differences are obvious from the /etc/puppet/puppet.conf which looks
like this
[main]
logdir=/var/log/puppet
vardir=/var/lib/puppet
ssldir=/var/lib/puppet/ssl
rundir=/var/run/puppet
factpath=$vardir/lib/facter
pluginsync=true
[puppetmasterd]
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 22
0
New to Puppet, trying to get it workign with a FreeBSD agent
Hello,
I have been following through some of the documentation trying to make use
of puppet in a test environment. I went ahead and tried to install
puppet-passenger and puppet dashboard.
I think i have succesfully done this, because at mymaster.local:3000/ I get
the dashboard webpage (albeit with no nodes or anything reporting)
and at https://mymaster.local:8140 I get a cert trying to be
2013 Oct 18
1
'eval_generate: SSL_connect returned=1 errno=0 state=SSLv3 read server session ticket A: tlsv1 alert unknown ca
Hi, ppl
I dont know what to do.
I configure a new client do sync with my server. the server accept de
client_cert without errors and then when i run the "puppet agent -t" agaion
i got this error output
info: Retrieving plugin
err: /File[/var/lib/puppet/lib]: Failed to generate additional resources
using ''eval_generate: SSL_connect returned=1 errno=0 state=SSLv3 read
server
2013 May 07
2
Modules doesn't work from puppet agent.
Hi all,
I think i''m forgetting something.
If i do: "puppet apply manifiests/site.pp" it works perfectly, loading
modules i have include in site.pp file.
site.pp:
cat manifiests/site.pp
node default {
include ntp, motd
}
But it does not work if i run puppet agent.
puppet agent --test --server=debianita.user.arinso --environment production
Info: Retrieving plugin
Info:
2008 Dec 04
4
puppetmaster built via puppetd
hi,
i''m trying to set up my puppetmaster infrastructure with multiple
puppetservers behind load balancers in each of our datacenters. i''m
using 0.24.6. i''ve read the howto on puppet scalability, and i think
i''ve got the ssl config working correct, but i''m noticing that when
puppetd is used to build a puppetmaster, some of the files in $vardir/
ssl
2010 Nov 12
4
Failed to generate additional resources using 'eval_generate': wrong header line format
I''ve upgraded to puppet v2.6.2 on ubuntu (clients and server) and now
I get this error messages related to pluginsync:
info: Retrieving plugin
err: /File[/var/lib/puppet/lib]: Failed to generate additional
resources using ''eval_generate'': wrong header line format
err: /File[/var/lib/puppet/lib]: Could not evaluate: wrong header line
format Could not retrieve file
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
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 May 13
1
puppet does not see changes in /etc/puppet/puppet.conf
I did a fresh install on Ubuntu 12.04 with apt packages from puppet labs. I
have agents talking to my puppetmaster.
Puppetmaster is running apache/passenger connected to puppetdb and
puppet-dashboard is setup to use puppetdb but it is not able to see any
reports submitted to puppetdb.
When an agent connects to master I see :
Info: ''replace facts'' command for hostname