G''day all I''ve got the following two lines in my site.pp: # Define the bucket filebucket { main: server => puppet } # Specify it as the default target File { backup => main } Which I added based on something in the best practices page. Thing is, I''ve got a couple of servers that are getting larger files (quite large actually) and they are constantly changing and i really don''t care about the files being different, causing their clientbucket directory to get largish. Is there a way to exclude the modules where i don''t care about changes, short of nuking the current destination file before i transfer the new copy (i figure that might do the trick, haven''t checked though). Cheers chakkerz -- 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.
On Apr 8, 2010, at 11:11 PM, chakkerz wrote:> G''day all > > I''ve got the following two lines in my site.pp: > > # Define the bucket > filebucket { main: server => puppet } > > # Specify it as the default target > File { backup => main } > > Which I added based on something in the best practices page. Thing is, > I''ve got a couple of servers that are getting larger files (quite > large actually) and they are constantly changing and i really don''t > care about the files being different, causing their clientbucket > directory to get largish. > > Is there a way to exclude the modules where i don''t care about > changes, short of nuking the current destination file before i > transfer the new copy (i figure that might do the trick, haven''t > checked though).This probably isn''t exactly what you want, but you can always set the value of "backup" for individual files. Just set it to "false" for the individual files. -- 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.
No, that is exactly what i wanted :) Thanks for that! Christian On Apr 9, 4:32 pm, Patrick <kc7...@gmail.com> wrote:> On Apr 8, 2010, at 11:11 PM, chakkerz wrote: > > > > > G''day all > > > I''ve got the following two lines in my site.pp: > > > # Define the bucket > > filebucket { main: server => puppet } > > > # Specify it as the default target > > File { backup => main } > > > Which I added based on something in the best practices page. Thing is, > > I''ve got a couple of servers that are getting larger files (quite > > large actually) and they are constantly changing and i really don''t > > care about the files being different, causing their clientbucket > > directory to get largish. > > > Is there a way to exclude the modules where i don''t care about > > changes, short of nuking the current destination file before i > > transfer the new copy (i figure that might do the trick, haven''t > > checked though). > > This probably isn''t exactly what you want, but you can always set the value of "backup" for individual files. Just set it to "false" for the individual files.-- 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.