Don Jackson
2010-Dec-19 23:13 UTC
[Puppet Users] Serving files while ignoring some (e.g. .svn)
I make user of the puppet fileserving capability to serve up configs and smaller executables I need on my deployed servers. Sometimes I populate directories to be served on the puppetmaster via subversion. When I recursively populate this kind of directory via puppet, it brings over the .svn directory, etc, which is not what I want. How can I configure either the puppet file server, or modify my manifest, to prevent pulling over the .svn directory also? -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Stefan Schulte
2010-Dec-19 23:26 UTC
Re: [Puppet Users] Serving files while ignoring some (e.g. .svn)
On Sun, Dec 19, 2010 at 03:13:05PM -0800, Don Jackson wrote:> > I make user of the puppet fileserving capability to serve up configs and smaller executables I need on my deployed servers. > > Sometimes I populate directories to be served on the puppetmaster via subversion. > > When I recursively populate this kind of directory via puppet, it brings over the .svn directory, etc, which is not what I want. > > How can I configure either the puppet file server, or modify my manifest, to prevent pulling over the .svn directory also?the fileresource has an ignore paramter for this. Have a look at the type reference: http://docs.puppetlabs.com/references/stable/type.html#ignore -Stefan
Bill Proud
2010-Dec-20 11:00 UTC
[Puppet Users] Re: Serving files while ignoring some (e.g. .svn)
On Dec 20, 12:13 am, Don Jackson <puppet-us...@clark- communications.com> wrote:> I make user of the puppet fileserving capability to serve up configs and smaller executables I need on my deployed servers. > > Sometimes I populate directories to be served on the puppetmaster via subversion. > > When I recursively populate this kind of directory via puppet, it brings over the .svn directory, etc, which is not what I want. > > How can I configure either the puppet file server, or modify my manifest, to prevent pulling over the .svn directory also?If you export from subversion rather than doing a checkout you will not get the .svn directories. Bill Proud -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.