On Thu, Nov 18, 2010 at 1:45 AM, Nick <oinksoc...@letterboxes.org> wrote: > Hi, > > On 18/11/10 03:06, Eric Sorenson wrote: >> Note I also changed your 'recurse => true' to 'recurse => remote', a sadly >> under-documented feature which eases recursive copies by recursing the source >> directory to build a list of files that need checksumming, not the target. >> (see http://projects.puppetlabs.com/issues/show/1469 for the backstory) > > Just to abstract out the bit which is useful to anyone wanting to try this, > this > describes what was implemented, right? > > http://projects.puppetlabs.com/issues/1469#note-6 >> If we want to go this way, the following would IMHO be preferable: >> >> ... recurse => , >> recurselimit => [0-9]+ >> >> Where: >> >> recurse parameter: >> both => old behavior >> remote => new behavior (recurse on master, prune on local) >> true => same as both >> false => default (ie no-recurse) >> [0-9]+ => both, but limit recursion, give a warning to user that >> this syntax is deprecated and that they should >> move to recurselimit. >> >> recurselimit parameter: >> [0-9]+ => recursion limit, usable with both (or true) and remote. >> If recurse=false it is ignored. If recurse is a number, >> then an error should be raised. >> >> This way, we preserve the old behavior by default and we warn people >> that the syntax is deprecated. > > > Now, it says it's fixed in 25.0? ("Affected version" means the broken > version, > correct?) > > Presumably this is the server version? (Be nice if that could be made > explicit > in general.) > > My question is then, given that version on the puppetmaster, what version > *clients* will this work with? For example, I have Ubuntu Lucid with > puppetmaster v25.4 and a Debian Lenny puppet client I'm testing, with v24.5.
This is a really good question. We need to more clearly specify required client and server versions for new functionality. I'm pretty sure you're going to need 0.25.x on both the server and client to get this functionality. -- Nigel Kersten - Puppet Labs - http://www.puppetlabs.com -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-us...@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.