Displaying 20 results from an estimated 140 matches for "pluginsync".
2010 Apr 05
5
Problem syncing custom fact
I am trying to get a custom fact to sync. The fact is in a module. It
will sync if I run puppet with "--pluginsync" but not otherwise. I
have "pluginsync=true" in my puppet.conf. Shouldn''t the command line
option and puppet.conf option have the same results?
--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To post to this grou...
2010 Apr 01
1
pluginsync in 0.25
Seeing an error that I didn''t get in .24 since my recent upgrade today. I
have pluginsync set to true, my fileserver conf is pointing to
/etc/puppet/plugins and my config file is using the default pluginsource of
puppet://puppet/plugins yet the client fails saying it can''t find it. Did
the behaviour change in .25 from .24?
[puppetd]
pluginsync = true
pluginsource = pu...
2011 Jul 01
0
pluginsync fails to load custom facts or providers
...textmate.org/private/40kzbxn0jy3row5s1eu8nq
similar to:
http://projects.puppetlabs.com/issues/4830
http://groups.google.com/group/puppet-users/browse_thread/thread/ae7eecd2fab5dea6
master puppet.conf:
[main]
logdir = /var/log/puppet
rundir = /var/run/puppet
ssldir = $vardir/ssl
pluginsync = true
factpath = /etc/puppet/facts
moduledir = /etc/puppet/modules:/var/lib/puppet/modules
[agent]
classfile = $vardir/classes.txt
localconfig = $vardir/localconfig
pluginsync = true
[master]
vardir = /var/lib/puppet
libdir = $vardir/lib
#ssldir = /etc/puppet/ss...
2013 Mar 15
1
pluginsync trouble over SRV lookups
Hi folks,
When using SRV lookups (over 2 puppetv3.1.1/RHEL6 masters), does anyone
know why the "pluginsync" fails to sync at irregular intervals ?
I am using "pluginsync = true" and "pluginsource=puppet:///plugins" on my
puppet-clients(3.1.1/RHEL6).
Yet I get failures such as "Error: Could not set ''file'' on ensure: Error
404 on SERVER: Could not find fi...
2012 Jul 31
11
$concat_basedir not defined
...for some OpenStack deployments and on a new node things
look pretty good right until after the successful reception of a cert from
the puppet master. I get this error:
err: Could not retrieve catalog from remote server: Error 400 on SERVER:
$concat_basedir not defined. Try running again with pluginsync enabled at
/usr/share/puppet/modules/concat/manifests/setup.pp:25 on node
controller-1.example.com
warning: Not using cache on failed catalog
err: Could not retrieve catalog; skipping run
Things seem to be as they should in the setup.pp file it refers to. I have
searched for similar issues and...
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 facter 1.5RC1, but no difference there as well.
Am I missing something?
Thanks,
Ohad
--~--~---------~--~----~------------~-------~--~--...
2012 Jul 09
1
Custom ruby modules/classes, standard namespacing, pluginsync, etc.
...r
modules, e.g. md5.rb with a collection of MD5 functions/methods.
I was thinking a generic ''custom'' module laid out something like
[modules]/custom/lib/puppet/md5.rb
[modules]/custom/lib/puppet/networking.rb
What''s the best place to put these so they get autoloaded by
pluginsync, and what is the preferred approach for namespacing?
Basically how do I require these within other modules.
Poking around the forge, I''ve seen things like
[modules]/custom/lib/puppet/util/md5.rb
and
[modules]/custom/lib/puppet/modules/md5.rb
But often there seem to be hacks used to lo...
2012 Mar 08
0
Different behavior for pluginsync between "puppet agent --test" and "service puppet start"
I''ve got 3 custom facts configured within a couple of modules and am using
pluginsync to sync them to the clients. My clients are CentOS 5.7.
If I run "puppet agent --test -v", I get the following output and the
custom facts get loaded and I can use those facts in my module classes:
info: Loading downloaded plugin /var/lib/puppet/lib/facter/oraclehome.rb
info: Loading d...
2011 Sep 08
0
"Could not evaluate: Not a directory" errors with pluginsync
Hello all,
We''re using Puppet/Puppetmaster 2.6.4 (2.6.4-2ubuntu2 on Ubuntu 11.04
to be precise), and after enabling pluginsync on the agents to make
our custom facts available, all puppet runs start with the output:
info: Retrieving plugin
err: /File[/var/lib/puppet/lib/puppet/parser/functions/basename.rb]:
Could not evaluate: Not a directory - /var/lib/puppet/lib/puppet/
parser/functions/basename.rb
err: /File[/var/lib/p...
2013 Oct 30
4
Warning: Local environment: "42A" doesn't match server specified node environment "production", switching agent to "production"
...uot; isn''t applied.
The puppet version is 3.3.1-1puppetlabs1 on agent and puppetmaster node
puppet.conf on the agent node :
*[main]
logdir=/var/log/puppet
vardir=/var/lib/puppet
ssldir=/var/lib/puppet/ssl
rundir=/var/run/puppet
factpath=$vardir/lib/facter
templatedir=$confdir/templates
pluginsync = true
[agent]
server = puppet
report = true*
-----------------------------------------------------------
puppet.conf on the puppetmaster node :
*[main]
logdir=/var/log/puppet
vardir=/var/lib/puppet
ssldir=/var/lib/puppet/ssl
rundir=/var/run/puppet
factpath=$vardir/lib/facter
templatedir=$confdi...
2013 Jan 07
16
stdlib take almost 14 minutes to sync on CentOS Vagrant VM
Hi,
I have a fresh CentOS 5.8 Vagrant VM that I''m using to emulate a customer''s
server. During the first Puppet run, it takes 13 minutes and 48 seconds to
sync the Puppet Labs stdlib module. On a similar Ubuntu 12.04.1 Vagrant
VM, Puppet starts up, and almost instantly goes from plugin sync to facter
load.
Is this load time for stdlib on a RHEL variant normal?
2011 Mar 28
4
Order Issues -- Missing require?
Good Evening!
I''m having issues with the order in which items are ran inside of a service
class, it''s attempting to run before the provider is present (the provider
is provided by the glassfish package). It looks for the glassfish provider
prior to inheriting the repository or the package list.
http://snipt.org/woomg
I have included a snipt of the code, does anyone have an
2007 Jul 13
7
new puppet providers
I might have the terminology wrong, but how to a give new puppet
providers to the puppet clients?
I''m thinking a provider is the thing the puppet client uses to
implement a task that the master has given it.
Am I way off here?
Mike B.
----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
2008 Jan 03
5
modules and parser plugins: function unknown
...|-- manifests
|-- plugins
| `-- facter
`-- templates
------
and puppet.conf on the client:
------
[main]
logdir=/var/log/puppet
vardir=/var/lib/puppet
ssldir=/var/lib/puppet/ssl
[puppetmasterd]
templatedir=/var/lib/puppet/templates
[puppetd]
server = puppet.ilibris.be
pluginsync=true
------
The pluginsync=true worked by syncing the plugins of the common module
to /var/lib/puppet/lib on the client, but still it cannot interpret the
manifest.
Any ideas would be greatly appreciated!
Many thanks,
Frederik Denkens
Belgium
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 metadata for puppet://mcp.c42/pl...
2010 Dec 03
5
Fact auto sync reloading
So we run puppetd as a long running ruby process on the hosts. When we update a fact that gets auto sync''d to the host it seems when puppetd wakes up and starts its catalog run it doesn''t re-sync the facts. It you run it standalone it will or if you restart the service then it will do the right thing. Do other people see this? Or have you all gone to running out of cron?
2012 Sep 05
5
Puppet smoking crack?
Couple of questions. Firstly, what''s the plugin error about?
puppet agent --onetime --test --verbose
info: Retrieving plugin
err: /File[/var/lib/puppet/lib]: Could not evaluate: Could not
retrieve information from source(s) puppet://puppet/plugins
info: Caching catalog for mon01.ap1.xxx.com
info: Applying configuration version ''1346878830''
err:
2009 Jan 07
0
Re: Noob - What means "Cannot access mount[plugins]" ? [SOLVED]
...clear.
>
> -Robin
Hi,
I read http://reductivelabs.com/trac/puppet/wiki/PluginsInModules with which
what this was all about.
Anyway, I changed puppet.conf to :
[main]
logdir=/var/log/puppet
vardir=/var/lib/puppet
ssldir=/var/lib/puppet/ssl
rundir=/var/run/puppet
factpath=$vardir/lib/facter
#pluginsync=true ############# next line is the one added
pluginsync=false
server=panoramix.perenip.lan
[puppetmasterd]
templatedir=/var/lib/puppet/templates
#templatedir=/etc/puppet/templates
... and then, I got rid of error messages
err: /File[/var/lib/puppet/lib]: Failed to generate additional resources...
2012 Mar 08
1
Puppet / Facter plugin issue
If I externalise my Puppet module config to a directory outside of
Puppet using the modulepath / manifestdir settings:
[main]
pluginsync=true
modulepath=/home/ec2-user/projects/qmg-puppet/etc/puppet/modules
manifestdir=/home/ec2-user/projects/qmg-puppet/etc/puppet/
manifests
the agents log the following error:
"Could not evaluate: Could not retrieve information from source(s)
puppet://my-dns-name/plugins"
which...
2012 Jul 07
1
plugin sync in masterless mode
So, I''m reading that this works, but I''m obviously missing something
somewhere, cause its not...
I''m testing a masterless setup, and thus far, pluginsync isn''t doing anything.
my puppet.conf looks like
[main]
vardir = /var/lib/puppet
logdir = /var/log/puppet
rundir = /var/run/puppet
ssldir = $vardir/ssl
classfile = $vardir/classes.txt
localconfig = $vardir/localconfig
report = true
report_server = provisions...