Hi all, The docs seem to indicate that it''s possible to disable checksum checking for file resources: "The default checksum parameter, *if checksums are enabled*, is md5." But I can''t find how to disable them. I vaguely remember something like ''nosum'', but it seems that''s not valid. Any hints? -- Kind regards, Tim -- 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.
Hi Tim, On Mon, Feb 8, 2010 at 12:54 PM, Tim Stoop <tim.stoop@gmail.com> wrote:> Hi all, > > The docs seem to indicate that it''s possible to disable checksum > checking for file resources: > > "The default checksum parameter, *if checksums are enabled*, is md5." > >http://docs.reductivelabs.com/guides/types/file.html checksum attribute of the file resource. I dont know of a way to disable this, but you can pick something faster based on timestamps.> But I can''t find how to disable them. I vaguely remember something > like ''nosum'', but it seems that''s not valid. Any hints? > > -- > Kind regards, > Tim > >-Dan> -- > 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<puppet-users%2Bunsubscribe@googlegroups.com> > . > For more options, visit this group at > http://groups.google.com/group/puppet-users?hl=en. > >-- 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.
Hi Dan, Thanks for the reply! On 8 feb, 21:58, Dan Bode <d...@reductivelabs.com> wrote:> checksum attribute of the file resource. I dont know of a way to disable > this, but you can pick something faster based on timestamps.I don''t want faster, I want no checksumming :) We use puppet to set some sane defaults (like mode 1777 on /tmp) and I don''t want to get messages about the checksum of /tmp changing every time. -- Kind regards, Tim -- 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.
Brice Figureau
2010-Feb-08 21:43 UTC
Re: [Puppet Users] Re: How to disable file checksums?
On 08/02/10 22:18, Tim Stoop wrote:> Hi Dan, > > Thanks for the reply! > > On 8 feb, 21:58, Dan Bode <d...@reductivelabs.com> wrote: >> checksum attribute of the file resource. I dont know of a way to disable >> this, but you can pick something faster based on timestamps. > > I don''t want faster, I want no checksumming :) We use puppet to set > some sane defaults (like mode 1777 on /tmp) and I don''t want to get > messages about the checksum of /tmp changing every time.In 0.24.x I know it was possible to: checksum => undef I don''t know if that still works in 0.25.x -- Brice Figureau My Blog: http://www.masterzen.fr/ -- 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.
Hi Brice, Thanks for your suggestion, but alas, it seems to default to mtime ''checksum'' then. On 8 feb, 22:43, Brice Figureau <brice-pup...@daysofwonder.com> wrote:> In 0.24.x I know it was possible to: > checksum => undefHonestly, knowing how other parts work, I''d expect it to default to mtime checksum in 0.24.x too... Thanks for the suggestion, though. Any other thoughts? -- Kind regards, Tim -- 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 Tue, Feb 9, 2010 at 6:30 AM, Tim Stoop <tim.stoop@gmail.com> wrote:> Hi Brice, > > Thanks for your suggestion, but alas, it seems to default to mtime > ''checksum'' then. > > On 8 feb, 22:43, Brice Figureau <brice-pup...@daysofwonder.com> wrote: > > In 0.24.x I know it was possible to: > > checksum => undef > > Honestly, knowing how other parts work, I''d expect it to default to > mtime checksum in 0.24.x too... Thanks for the suggestion, though. > > Any other thoughts? > > If you don''t specify source or content, then it should just touch the file.I am still missing the exact use case for this though.> -- > Kind regards, > Tim > > -- > 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<puppet-users%2Bunsubscribe@googlegroups.com> > . > For more options, visit this group at > http://groups.google.com/group/puppet-users?hl=en. > >-- 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.
Hi Dan, On 9 feb, 17:40, Dan Bode <d...@reductivelabs.com> wrote:> I am still missing the exact use case for this though.I made a ticket out of it, #3170. If I have something like: file { "/tmp": mode => 1777 } Every puppetd run gives me something like: notice: //kbp_debian/File[/tmp]/checksum: checksum changed ''{mtime}Mon Feb 08 22:50:00 +0100 2010'' to ''{mtime}Tue Feb 09 21:11:06 +0100 2010'' If you have this for a lot of resources, it kind of clutters :) Since I do not need checksumming for these resources, it would be nice if I could simply disable checksumming. -- Kind regards, Tim -- 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.
Joshua Anderson
2010-Feb-12 09:50 UTC
Re: [Puppet Users] Re: How to disable file checksums?
On Feb 9, 2010, at 11:12 AM, Tim Stoop wrote:> file { "/tmp": mode => 1777 }I think you''re seeing odd behavior because Puppet doesn''t know that /tmp is supposed to be a directory. Try this instead: file { "/tmp": ensure => directory, mode => 1777 } -Josh -- 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.