* Matthew Palmer <[EMAIL PROTECTED]> [071014 00:07]:
> On Fri, Oct 12, 2007 at 02:47:51PM -0400, Micah Anderson wrote:
> > I set pluginsync=true in my client's puppet.conf and then ran a puppetd
> > --test and found to my horror it brought over all kinds of ugly .svn
> > dirs:
> 
> Presumably saying "that's what you get for using SVN" would be impolite? 
> <grin>

:D at least I'm using git-svn, but until I can convince the others...
(although it drives me nuts that git finds empty directories/files useless and
refuses to add/track them).

> > I dont want those! So I found the pluginsignore config variable, its
> > default is: .svn CVS, which made me wonder why it still pulled them. I
> > tried setting it manually, but that didn't seem to help.
> > 
> > Is there another way to set this, and if so, can it be default just like
> > pluginsignore is?
> 
> I'm pretty sure pluginsignore is the way to do this, and in fact, in my
> testing (creating a .svn directory by hand inside one of my modules, as well
> as creating a .svn directory in a mocked up plugins tree) works fine.


Ok... thats odd.

> There was a bug regarding pluginsignore introduced in 0.23.2-4 and fixed in
> 0.23.2-6.  How confident are you that your puppetmaster (which is where the
> bug existed) is running something >= 0.23.2-6?  That, to me, would be the
> most likely candidate for the cause of this.  Otherwise, I'll need to know a
> bunch about how exactly you're using Puppet to try and narrow the scope of
> the bug search -- and to try and reproduce the problem at all, to begin with. 
> Things like versions on both ends, the contents of your fileserver.conf,
> puppet.conf, and so on.

puppetmaster: 0.23.2-10
puppet: 0.23.2-10

On the client:
[EMAIL PROTECTED]:~# cat /etc/puppet/puppet.conf 
[main]
logdir=/var/log/puppet
vardir=/var/lib/puppet
rundir=/var/run
ssldir=/var/lib/puppet/ssl

[puppetmasterd]
templatedir=/var/lib/puppet/templates

[EMAIL PROTECTED]:~# puppetd -vt --pluginsync
info: Retrieving plugins
notice: /plugin_collector/File[/var/lib/puppet/lib/.svn]/ensure: created
notice: /plugin_collector/File[/var/lib/puppet/lib/.svn/text-base]/ensure: 
created
notice: /plugin_collector/File[/var/lib/puppet/lib/.svn/prop-base]/ensure: 
created
notice: /plugin_collector/File[/var/lib/puppet/lib/.svn/props]/ensure: created
notice: /plugin_collector/File[/var/lib/puppet/lib/.svn/tmp]/ensure: created
notice: /plugin_collector/File[/var/lib/puppet/lib/.svn/tmp/text-base]/ensure: 
created
notice: /plugin_collector/File[/var/lib/puppet/lib/.svn/tmp/prop-base]/ensure: 
created
notice: /plugin_collector/File[/var/lib/puppet/lib/.svn/tmp/props]/ensure: 
created
notice: /plugin_collector/File[/var/lib/puppet/lib/.svn/entries]/ensure: created
notice: /plugin_collector/File[/var/lib/puppet/lib/.svn/format]/ensure: created
notice: /plugin_collector/File[/var/lib/puppet/lib/facter]/ensure: created
notice: /plugin_collector/File[/var/lib/puppet/lib/facter/.svn]/ensure: created
notice: 
/plugin_collector/File[/var/lib/puppet/lib/facter/.svn/text-base/interfaces.rb.svn-base]/ensure:
 created
notice: 
/plugin_collector/File[/var/lib/puppet/lib/facter/.svn/text-base/acpi_available.rb.svn-base]/ensure:
 created
notice: 
/plugin_collector/File[/var/lib/puppet/lib/facter/.svn/text-base/netmask.rb.svn-base]/ensure:
 created
notice: 
/plugin_collector/File[/var/lib/puppet/lib/facter/.svn/text-base/virtual.rb.svn-base]/ensure:
 created
notice: 
/plugin_collector/File[/var/lib/puppet/lib/facter/.svn/text-base/vserver.rb.svn-base]/ensure:
 created
warning: Other end went away; restarting connection and retrying
notice: 
/plugin_collector/File[/var/lib/puppet/lib/facter/.svn/prop-base]/ensure: 
created
notice: 
/plugin_collector/File[/var/lib/puppet/lib/facter/.svn/prop-base/interfaces.rb.svn-base]/ensure:
 created
warning: Other end went away; restarting connection and retrying 

etc.

It somewhat puzzles me that things are going to /var/lib/puppet/lib when
I cant find where that directory is defined anywhere.

On the puppetmaster:

[EMAIL PROTECTED]:/etc/puppet# cat fileserver.conf 
[files]
  path /etc/puppet/files
  allow *.riseup.net

[modules]
  allow *.riseup.net
      
[plugins]
  allow *.riseup.net

[EMAIL PROTECTED]:/etc/puppet# cat puppet.conf
[main]
logdir=/var/log/puppet
vardir=/var/lib/puppet
rundir=/var/run
templatedir=/etc/puppet/templates

[puppetd]
pluginsync=true
pluginsignore=.svn
report=true

[puppetmasterd]
storeconfigs=true
dbadapter=mysql
dbserver=localhost
dbuser=puppet
dbpassword=imnotsendingthisinabugreport
reports=lastcheck

I was following
http://reductivelabs.com/trac/puppet/wiki/PluginsInModules which told me
to get rid of the path parameter (check), move my existing plugins out
into modules (check), turn off factsync (check), turn on pluginsync
(check), and point it at the /plugins directory on your puppetmaster
(this I dont really understand)

I've tried removing the pluginsignore=.svn line from my puppet.conf,
I've tried chanting magic incantations, and lighting incense. I've even
got the following in a common manifest that all hosts include:

File { ignore => '.svn' }

Before I tear the last few hairs out of my head, please tell me what I
am missing.

Micah




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to