Jira (PUP-4230) File resources with ensure=>absent do not have hashes logged after being filebucketed
Title: Message Title Josh Cooper commented on PUP-4230 Re: File resources with ensure=>absent do not have hashes logged after being filebucketed Given the difficulty we encountered trying to add this and that it hasn't been updated in 2+ years, I'm going to close this as won't do. Add Comment This message was sent by Atlassian JIRA (v7.0.2#70111-sha1:88534db) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-4230) File resources with ensure=>absent do not have hashes logged after being filebucketed
Title: Message Title Moses Mendoza updated an issue Puppet / PUP-4230 File resources with ensure=>absent do not have hashes logged after being filebucketed Change By: Moses Mendoza Labels: triaged Add Comment This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-4230) File resources with ensure=>absent do not have hashes logged after being filebucketed
Title: Message Title Ethan Brown updated an issue Puppet / PUP-4230 File resources with ensure=>absent do not have hashes logged after being filebucketed Change By: Ethan Brown Labels: triaged Add Comment This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-4230) File resources with ensure=>absent do not have hashes logged after being filebucketed
Title: Message Title Geoff Nichols updated an issue Puppet / PUP-4230 File resources with ensure=>absent do not have hashes logged after being filebucketed Change By: Geoff Nichols Team: Agent Add Comment This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-4230) File resources with ensure=>absent do not have hashes logged after being filebucketed
Title: Message Title Kenn Hussey updated an issue Puppet / PUP-4230 File resources with ensure=>absent do not have hashes logged after being filebucketed Change By: Kenn Hussey Fix Version/s: PUP 4.y Fix Version/s: PUP 5.y Add Comment This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-4230) File resources with ensure=>absent do not have hashes logged after being filebucketed
Title: Message Title Eric Sorenson updated an issue Puppet / PUP-4230 File resources with ensure=>absent do not have hashes logged after being filebucketed Change By: Eric Sorenson Component/s: filebucket Add Comment This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-4230) File resources with ensure=absent do not have hashes logged after being filebucketed
Title: Message Title Kylo Ginsberg updated an issue Puppet / PUP-4230 File resources with ensure=absent do not have hashes logged after being filebucketed Change By: Kylo Ginsberg Sprint: Client2015-05-27 Add Comment This message was sent by Atlassian JIRA (v6.3.15#6346-sha1:dbc023d) -- You received this message because you are subscribed to the Google Groups Puppet Bugs group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-4230) File resources with ensure=absent do not have hashes logged after being filebucketed
Title: Message Title Kylo Ginsberg updated an issue Puppet / PUP-4230 File resources with ensure=absent do not have hashes logged after being filebucketed Change By: Kylo Ginsberg Fix Version/s: PUP4.x Add Comment This message was sent by Atlassian JIRA (v6.3.15#6346-sha1:dbc023d) -- You received this message because you are subscribed to the Google Groups Puppet Bugs group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-4230) File resources with ensure=absent do not have hashes logged after being filebucketed
Title: Message Title Josh Cooper updated an issue Puppet / PUP-4230 File resources with ensure=absent do not have hashes logged after being filebucketed Change By: Josh Cooper Sprint: Client2015-05- 13 27 Add Comment This message was sent by Atlassian JIRA (v6.3.15#6346-sha1:dbc023d) -- You received this message because you are subscribed to the Google Groups Puppet Bugs group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-4230) File resources with ensure=absent do not have hashes logged after being filebucketed
Title: Message Title Kurt Wall updated an issue Puppet / PUP-4230 File resources with ensure=absent do not have hashes logged after being filebucketed Change By: Kurt Wall Whenafileresourcewith{{ensure=absent}}isalsosettobackuptoafilebucket,itgetsbucketedbeforebeingremovedbutthehashisnotrecordedinthelog.Forexample,ifthiscodeisonthemaster:{code:puppet}filebucket{'main':server=$settings::certname,path=false,}file{'/root/removeme':ensure=absent,backup='main',}{code}Thisiswhatthelogshowsnormally:{noformat}[root@puppet-eli~]#touchremoveme[root@puppet-eli~]#puppetagent--no-daemonize--onetime--logdestconsoleNotice:/Stage[main]/Profile::Base/File[/root/removeme]/ensure:removedNotice:Finishedcatalogrunin2.70seconds{noformat}Bycontrast,here'swhattheverboselogshows:{noformat}[root@puppet-eli~]#touchremoveme[root@puppet-eli~]#puppetagent--no-daemonize--onetime--logdestconsole--verboseInfo:RetrievingpluginfactsInfo:RetrievingpluginInfo:LoadingfactsInfo:Cachingcatalogforpuppet-eli.localdomainInfo:Applyingconfigurationversion'1426540724'Info:Computingchecksumonfile/root/removemeInfo:/Stage[main]/Profile::Base/File[/root/removeme]:Filebucketed/root/removemetomainwithsumd41d8cd98f00b204e9800998ecf8427eNotice:/Stage[main]/Profile::Base/File[/root/removeme]/ensure:removedNotice:Finishedcatalogrunin3.03seconds{noformat}Havingthehashavailablewouldbeuseful.Theline:{noformat}Notice:/Stage[main]/Profile::Base/File[/root/removeme]/ensure:removed{noformat}shouldinsteadsaysomethinglike:{noformat}Notice:/Stage[main]/Profile::Base/File[/root/removeme]/ensure:removedfilewithcontent'{md5}d41d8cd98f00b204e9800998ecf8427e'{noformat} QARiskAnalysisProbability:MediumImpact:LowRiskLevel:LowTestLevel:spec Add Comment This message was sent by Atlassian JIRA (v6.3.15#6346-sha1:dbc023d)
Jira (PUP-4230) File resources with ensure=absent do not have hashes logged after being filebucketed
Title: Message Title Kurt Wall updated an issue Puppet / PUP-4230 File resources with ensure=absent do not have hashes logged after being filebucketed Change By: Kurt Wall Whenafileresourcewith{{ensure=absent}}isalsosettobackuptoafilebucket,itgetsbucketedbeforebeingremovedbutthehashisnotrecordedinthelog.Forexample,ifthiscodeisonthemaster:{code:puppet}filebucket{'main':server=$settings::certname,path=false,}file{'/root/removeme':ensure=absent,backup='main',}{code}Thisiswhatthelogshowsnormally:{noformat}[root@puppet-eli~]#touchremoveme[root@puppet-eli~]#puppetagent--no-daemonize--onetime--logdestconsoleNotice:/Stage[main]/Profile::Base/File[/root/removeme]/ensure:removedNotice:Finishedcatalogrunin2.70seconds{noformat}Bycontrast,here'swhattheverboselogshows:{noformat}[root@puppet-eli~]#touchremoveme[root@puppet-eli~]#puppetagent--no-daemonize--onetime--logdestconsole--verboseInfo:RetrievingpluginfactsInfo:RetrievingpluginInfo:LoadingfactsInfo:Cachingcatalogforpuppet-eli.localdomainInfo:Applyingconfigurationversion'1426540724'Info:Computingchecksumonfile/root/removemeInfo:/Stage[main]/Profile::Base/File[/root/removeme]:Filebucketed/root/removemetomainwithsumd41d8cd98f00b204e9800998ecf8427eNotice:/Stage[main]/Profile::Base/File[/root/removeme]/ensure:removedNotice:Finishedcatalogrunin3.03seconds{noformat}Havingthehashavailablewouldbeuseful.Theline:{noformat}Notice:/Stage[main]/Profile::Base/File[/root/removeme]/ensure:removed{noformat}shouldinsteadsaysomethinglike:{noformat}Notice:/Stage[main]/Profile::Base/File[/root/removeme]/ensure:removedfilewithcontent'{md5}d41d8cd98f00b204e9800998ecf8427e'{noformat} h2. QARiskAnalysis | Probability : | Low(notacommonusecase?) | | Impact : | Low(aloggedhashisadebuggingaid,notcriticaldata) | | RiskLevel : | Low | | TestLevel : | spec | Add Comment This message was sent by Atlassian JIRA (v6.3.15#6346-sha1:dbc023d)
Jira (PUP-4230) File resources with ensure=absent do not have hashes logged after being filebucketed
Title: Message Title Kurt Wall updated an issue Puppet / PUP-4230 File resources with ensure=absent do not have hashes logged after being filebucketed Change By: Kurt Wall Whenafileresourcewith{{ensure=absent}}isalsosettobackuptoafilebucket,itgetsbucketedbeforebeingremovedbutthehashisnotrecordedinthelog.Forexample,ifthiscodeisonthemaster:{code:puppet}filebucket{'main':server=$settings::certname,path=false,}file{'/root/removeme':ensure=absent,backup='main',}{code}Thisiswhatthelogshowsnormally:{noformat}[root@puppet-eli~]#touchremoveme[root@puppet-eli~]#puppetagent--no-daemonize--onetime--logdestconsoleNotice:/Stage[main]/Profile::Base/File[/root/removeme]/ensure:removedNotice:Finishedcatalogrunin2.70seconds{noformat}Bycontrast,here'swhattheverboselogshows:{noformat}[root@puppet-eli~]#touchremoveme[root@puppet-eli~]#puppetagent--no-daemonize--onetime--logdestconsole--verboseInfo:RetrievingpluginfactsInfo:RetrievingpluginInfo:LoadingfactsInfo:Cachingcatalogforpuppet-eli.localdomainInfo:Applyingconfigurationversion'1426540724'Info:Computingchecksumonfile/root/removemeInfo:/Stage[main]/Profile::Base/File[/root/removeme]:Filebucketed/root/removemetomainwithsumd41d8cd98f00b204e9800998ecf8427eNotice:/Stage[main]/Profile::Base/File[/root/removeme]/ensure:removedNotice:Finishedcatalogrunin3.03seconds{noformat}Havingthehashavailablewouldbeuseful.Theline:{noformat}Notice:/Stage[main]/Profile::Base/File[/root/removeme]/ensure:removed{noformat}shouldinsteadsaysomethinglike:{noformat}Notice:/Stage[main]/Profile::Base/File[/root/removeme]/ensure:removedfilewithcontent'{md5}d41d8cd98f00b204e9800998ecf8427e'{noformat}QARiskAnalysisProbability: Medium Low(notacommonusecase?) Impact:Low (aloggedhashisadebuggingaid,notcriticaldata) RiskLevel:LowTestLevel:spec Add Comment This message was sent by Atlassian JIRA (v6.3.15#6346-sha1:dbc023d)
Jira (PUP-4230) File resources with ensure=absent do not have hashes logged after being filebucketed
Title: Message Title Kurt Wall updated an issue Puppet / PUP-4230 File resources with ensure=absent do not have hashes logged after being filebucketed Change By: Kurt Wall QA Status: Reviewed Add Comment This message was sent by Atlassian JIRA (v6.3.15#6346-sha1:dbc023d) -- You received this message because you are subscribed to the Google Groups Puppet Bugs group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-4230) File resources with ensure=absent do not have hashes logged after being filebucketed
Title: Message Title Kurt Wall updated an issue Puppet / PUP-4230 File resources with ensure=absent do not have hashes logged after being filebucketed Change By: Kurt Wall QA Contact: EricThompson KurtWall Add Comment This message was sent by Atlassian JIRA (v6.3.15#6346-sha1:dbc023d) -- You received this message because you are subscribed to the Google Groups Puppet Bugs group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-4230) File resources with ensure=absent do not have hashes logged after being filebucketed
Title: Message Title Michael Smith commented on PUP-4230 Re: File resources with ensure=absent do not have hashes logged after being filebucketed On further reflection, we're not comfortable merging this change while it has to work around PUP-4329. That leads to logic in syncing the File's ensure property that we'll have to maintain that can have some unexpected side-effects (modifying resource[:content] and resource[:checksum]); it may also lead to significant performance hits in re-calculating checksums, particularly if it results in downloading a remote source twice. Using verbose (which has pretty low additional reporting) if you want to get the checksum used in the filebucket is a pretty reasonable alternative. Add Comment This message was sent by Atlassian JIRA (v6.3.15#6346-sha1:dbc023d) -- You received this message because you are subscribed to the Google Groups Puppet Bugs group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-4230) File resources with ensure=absent do not have hashes logged after being filebucketed
Title: Message Title Michael Smith updated an issue Puppet / PUP-4230 File resources with ensure=absent do not have hashes logged after being filebucketed Change By: Michael Smith Sprint: Client2015-05-13 Scrum Team: ClientPlatform Story Points: 1 Add Comment This message was sent by Atlassian JIRA (v6.3.15#6346-sha1:dbc023d) -- You received this message because you are subscribed to the Google Groups Puppet Bugs group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-4230) File resources with ensure=absent do not have hashes logged after being filebucketed
Title: Message Title Michael Smith commented on PUP-4230 Re: File resources with ensure=absent do not have hashes logged after being filebucketed The filebucket won't pull a file if the resource specifies a checksum property that doesn't matched the system's configured checksum. I'll file a ticket for that. The checksum reported by the PR won't display the right checksum under those circumstances, but since the filebucket is broken in that case anyway I don't see it being a problem with the approach. Add Comment This message was sent by Atlassian JIRA (v6.3.10#6340-sha1:7ea293a) -- You received this message because you are subscribed to the Google Groups Puppet Bugs group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-4230) File resources with ensure=absent do not have hashes logged after being filebucketed
Title: Message Title Melissa Stone updated an issue Puppet / PUP-4230 File resources with ensure=absent do not have hashes logged after being filebucketed Change By: Melissa Stone Component/s: Community Add Comment This message was sent by Atlassian JIRA (v6.3.10#6340-sha1:7ea293a) -- You received this message because you are subscribed to the Google Groups Puppet Bugs group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-4230) File resources with ensure=absent do not have hashes logged after being filebucketed
Title: Message Title Eli Young commented on PUP-4230 Re: File resources with ensure=absent do not have hashes logged after being filebucketed This should be pretty easy to fix by modifying the change_to_s function in the file type's ensure code. Add Comment This message was sent by Atlassian JIRA (v6.3.10#6340-sha1:7ea293a) -- You received this message because you are subscribed to the Google Groups Puppet Bugs group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-4230) File resources with ensure=absent do not have hashes logged after being filebucketed
Title: Message Title Eli Young commented on PUP-4230 Re: File resources with ensure=absent do not have hashes logged after being filebucketed So, after looking some more at `change_to_s`, I have determined that this is actually a fair bit more complicated than I initially thought it was, due to the fact that `change_to_s` runs after the file resource has already been removed from the filesystem. Add Comment This message was sent by Atlassian JIRA (v6.3.10#6340-sha1:7ea293a) -- You received this message because you are subscribed to the Google Groups Puppet Bugs group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-4230) File resources with ensure=absent do not have hashes logged after being filebucketed
Title: Message Title Eli Young created an issue Puppet / PUP-4230 File resources with ensure=absent do not have hashes logged after being filebucketed Issue Type: Bug Affects Versions: PUP 3.7.4 Assignee: Unassigned Created: 2015/03/16 2:37 PM Priority: Normal Reporter: Eli Young When a file resource with ensure = absent is also set to backup to a filebucket, it gets bucketed before being removed but the hash is not recorded in the log. For example, if this code is on the master: filebucket { 'main': server = $settings::certname, path = false,
Jira (PUP-4230) File resources with ensure=absent do not have hashes logged after being filebucketed
Title: Message Title Eli Young updated an issue Puppet / PUP-4230 File resources with ensure=absent do not have hashes logged after being filebucketed Change By: Eli Young Issue Type: Bug Improvement Add Comment This message was sent by Atlassian JIRA (v6.3.10#6340-sha1:7ea293a) -- You received this message because you are subscribed to the Google Groups Puppet Bugs group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.