Hello, Does anybody know how to compare a filebucketed file easily with the current file based on these infos? info: /Stage[main]/Nginx/File[/etc/nginx/nginx.conf]: Filebucketed /etc/nginx/nginx.conf to puppet with sum 90dbcd7cf0accf5d372d077a6c90020c remote: notice: /Stage[main]/Nginx/File[/etc/nginx/nginx.conf]/content: content changed ''{md5}90dbcd7cf0accf5d372d077a6c90020c'' to ''{md5}26e643361f26cdf766199a830417c8bf'' Thank you Peter -- 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.
Jennings, Jared L CTR USAF AFMC 46 SK/CCI
2012-May-14 17:12 UTC
RE: [Puppet Users] compare filebucket
Judging from your log messages, the bucketed file is on the puppetmaster ("Filebucketed... to puppet"). You can use this command to get it: puppet filebucket get 26e643361f26cdf766199a830417c8bf > /tmp/old-file (Or at least, I can, with Puppet 2.7.6.) Then you can diff -u /tmp/old-file /etc/nginx/nginx.conf rm /tmp/old-file> -----Original Message----- > From: puppet-users@googlegroups.com [mailto:puppet- > users@googlegroups.com] On Behalf Of Peter Horvath > Sent: Monday, May 14, 2012 11:10 AM > To: Puppet Users > Subject: [Puppet Users] compare filebucket > > Hello, > > Does anybody know how to compare a filebucketed file easily with the > current file based on these infos? > > info: /Stage[main]/Nginx/File[/etc/nginx/nginx.conf]: Filebucketed > /etc/nginx/nginx.conf to puppet with sum > 90dbcd7cf0accf5d372d077a6c90020c > remote: notice:/Stage[main]/Nginx/File[/etc/nginx/nginx.conf]/content:> content changed ''{md5}90dbcd7cf0accf5d372d077a6c90020c'' to > ''{md5}26e643361f26cdf766199a830417c8bf'' > > Thank you > Peter > > -- > 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.-- 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, I have make a pull request with the filebucket patch who do that : https://github.com/puppetlabs/puppet/pull/779 If you want to test ... Émile Peter Horvath a écrit :> Hello, > > Does anybody know how to compare a filebucketed file easily with the > current file based on these infos? > > info: /Stage[main]/Nginx/File[/etc/nginx/nginx.conf]: Filebucketed > /etc/nginx/nginx.conf to puppet with sum 90dbcd7cf0accf5d372d077a6c90020c > remote: notice: > /Stage[main]/Nginx/File[/etc/nginx/nginx.conf]/content: content > changed ''{md5}90dbcd7cf0accf5d372d077a6c90020c'' to > ''{md5}26e643361f26cdf766199a830417c8bf'' > > Thank you > Peter > -- > 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.-- 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.