Jira (PUP-4039) package resource doesn't find new packages in yum repo
Title: Message Title Robin Bowes updated an issue Puppet / PUP-4039 package resource doesn't find new packages in yum repo Change By: Robin Bowes Summary: Add ubnt/ubic deploy keys to CentOS 7 Base package resource doesn't find new packages in yum repo 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-4039) package resource doesn't find new packages in yum repo
Title: Message Title Kylo Ginsberg assigned an issue to Unassigned Puppet / PUP-4039 package resource doesn't find new packages in yum repo Change By: Kylo Ginsberg Assignee: Kylo Ginsberg 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-4039) package resource doesn't find new packages in yum repo
Title: Message Title Kylo Ginsberg updated an issue Puppet / PUP-4039 package resource doesn't find new packages in yum repo Change By: Kylo Ginsberg Scrum Team: Release Engineering 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-4039) package resource doesn't find new packages in yum repo
Title: Message Title Michael Stahnke commented on PUP-4039 Re: package resource doesn't find new packages in yum repo I think the best course of action here might be to just have an Exec that does a metadata refresh for yum. If puppet did that for each package resource in the graph, that would add lots of time to the puppet run. I do find it odd that yum behaves differently on list vs install though. Add Comment This message was sent by Atlassian JIRA (v6.4.5#64020-sha1:78acd6c) -- 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-4039) package resource doesn't find new packages in yum repo
Title: Message Title Michael Stahnke commented on PUP-4039 Re: package resource doesn't find new packages in yum repo I'm also curious if this behaves the same way if ensure => latest is set vs installed. Add Comment This message was sent by Atlassian JIRA (v6.4.5#64020-sha1:78acd6c) -- 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-4039) package resource doesn't find new packages in yum repo
Title: Message Title Kenn Hussey updated an issue Puppet / PUP-4039 package resource doesn't find new packages in yum repo Change By: Kenn Hussey Scrum Team: Release Engineering Add Comment This message was sent by Atlassian JIRA (v6.4.11#64026-sha1:78f6ec4) -- 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-4039) package resource doesn't find new packages in yum repo
Title: Message Title Jonathan Lynch commented on PUP-4039 Re: package resource doesn't find new packages in yum repo Adding an exec to refresh the metadata is a valid workaround, but I really think puppet should handle that on it's own. Otherwise the documentation for the yumrepo type should be updated to say "if you want this to work properly you'll need to add an exec to your manifest". 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-4039) package resource doesn't find new packages in yum repo
Title: Message Title Michael Stahnke commented on PUP-4039 Re: package resource doesn't find new packages in yum repo The issue is a yum issue though. It's not a puppet issue. Puppet is calling out to yum. If yum can't find the package without cleaning metadata, then I guess that a state to enforce. This doesn't happen in all cases (we use the yum_repo type all the time). I'm wondering what your cache settings look like, or your expiry on metadata. Is there a proxy in between your client and the yum repo? 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-4039) package resource doesn't find new packages in yum repo
Title: Message Title Jonathan Lynch commented on PUP-4039 Re: package resource doesn't find new packages in yum repo Thank you for responding, because you helped me realize my error. The actual problem was that the repository wasn't getting installed before the package. Once I ensured the repository was installed first the problem went away. 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-4039) package resource doesn't find new packages in yum repo
Title: Message Title Michael Stahnke commented on PUP-4039 Re: package resource doesn't find new packages in yum repo Excellent. 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-4039) package resource doesn't find new packages in yum repo
Title: Message Title Robin Bowes commented on PUP-4039 Re: package resource doesn't find new packages in yum repo Michael Stahnke I am the original reporter of this. Did you actually try the steps detailed in the original post? The problem occurs because the yum command used by the yum provider to test for package availability does not update the cache. yum list new_package does not find new_package if it is not in the local cache yum install new_package does find new_package even if it is not in the cache because it updates the cache. I don't consider this to be resolved. R. Add Comment This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9)
Jira (PUP-4039) package resource doesn't find new packages in yum repo
Title: Message Title Michael Stahnke assigned an issue to Robin Bowes Puppet / PUP-4039 package resource doesn't find new packages in yum repo Change By: Michael Stahnke Assignee: Robin Bowes 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-4039) package resource doesn't find new packages in yum repo
Title: Message Title Michael Stahnke commented on PUP-4039 Re: package resource doesn't find new packages in yum repo Sorry Robin Bowes, I thought the last commenter was the reporter. Are you suggesting that we don't use yum list? What should be used instead? To me this seems like a yum issue still. If list uses a cache and install doesn't, what should puppet do? If we update the cache on every package resource, the performance hit will be huge. People already don't like how long packages take to manage. That performance hit would also only be needed in the case where the repo was updated, but the cache hasn't been updated yet. If this occurs often, you could clear the yum cache at the start of the puppet run or something. I don't see us making a change to optimize for this case when it hurts the general case so much. If there is another way to make this work, please suggest something. 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-4039) package resource doesn't find new packages in yum repo
Title: Message Title Robin Bowes commented on PUP-4039 Re: package resource doesn't find new packages in yum repo I'm not sure why it is using yum list in the install method of the yum provider. There's some comment about virtual packages: unless @resource.allow_virtual? yum *['-d', '0', '-e', '0', '-y', install_options, :list, wanted].compact end To my mind, if we were calling "install" then we should just run "yum install", not run "yum list" before running "yum install" R. 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...@goo
Jira (PUP-4039) package resource doesn't find new packages in yum repo
Title: Message Title Robin Bowes commented on PUP-4039 Re: package resource doesn't find new packages in yum repo Has there been any further progress with this? 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-4039) package resource doesn't find new packages in yum repo
Title: Message Title Thomas Mueller commented on PUP-4039 Re: package resource doesn't find new packages in yum repo EL7 has metadata_expire and metadata_expire_filter yum.conf options. IMHO for yum list to upgrade metadata the metadata_expire_filter needs to be adjusted. and metadata_expire to be set to 0 to ensure metadata is checked on every yum call. or just run yum clean expire-cache before any package seems the yum providers considers a package which is not found with "yum list" as virtual. 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-4039) package resource doesn't find new packages in yum repo
Title: Message Title Robin Bowes commented on PUP-4039 Re: package resource doesn't find new packages in yum repo Following some input from Richard Clamp, it seems this is the cause of the regression: https://github.com/puppetlabs/puppet/commit/21322de612356b231830ec8cce57371b84306520 The relevant ticket is PUP-2182 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-4039) package resource doesn't find new packages in yum repo
Title: Message Title Jonathan Lynch commented on PUP-4039 Re: package resource doesn't find new packages in yum repo Interesting, so it seems like if we find a better way to detect a virtual package then this issue will be resolved. 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-4039) package resource doesn't find new packages in yum repo
Title: Message Title Kylo Ginsberg updated an issue Puppet / PUP-4039 package resource doesn't find new packages in yum repo Change By: Kylo Ginsberg Sprint: Client Triage 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-4039) package resource doesn't find new packages in yum repo
Title: Message Title Kylo Ginsberg updated an issue Puppet / PUP-4039 package resource doesn't find new packages in yum repo Change By: Kylo Ginsberg Scrum Team: Client Platform 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-4039) package resource doesn't find new packages in yum repo
Title: Message Title Robin Bowes commented on PUP-4039 Re: package resource doesn't find new packages in yum repo I would also add that $current_client is on EL6 R. 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-4039) package resource doesn't find new packages in yum repo
Title: Message Title Kylo Ginsberg updated an issue Puppet / PUP-4039 package resource doesn't find new packages in yum repo Change By: Kylo Ginsberg Sprint: Client Triage CI.next 2016-05-04 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-4039) package resource doesn't find new packages in yum repo
Title: Message Title Steve Barlow updated an issue Puppet / PUP-4039 package resource doesn't find new packages in yum repo Change By: Steve Barlow Sprint: CI.next Client 2016-05-04 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-4039) package resource doesn't find new packages in yum repo
Title: Message Title Steve Barlow updated an issue Puppet / PUP-4039 package resource doesn't find new packages in yum repo Change By: Steve Barlow Story Points: 3 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-4039) package resource doesn't find new packages in yum repo
Title: Message Title Eric Thompson updated an issue Puppet / PUP-4039 package resource doesn't find new packages in yum repo Change By: Eric Thompson QA Risk Assessment Reason: work around available QA Highest Test Level: Acceptance QA Risk Assessment: Medium 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-4039) package resource doesn't find new packages in yum repo
Title: Message Title John Duarte updated an issue Puppet / PUP-4039 package resource doesn't find new packages in yum repo Change By: John Duarte QA Status: Reviewed 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-4039) package resource doesn't find new packages in yum repo
Title: Message Title Branan Riley commented on PUP-4039 Re: package resource doesn't find new packages in yum repo For now, it looks like there's a workaround - refresh the yum cache in between adding a new repo and trying to install packages from it. I know that's not awesome, but it's also a thing that modules which handle Debian already have to deal with, so I'm not too beat up about it. 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-4039) package resource doesn't find new packages in yum repo
Title: Message Title Branan Riley commented on PUP-4039 Re: package resource doesn't find new packages in yum repo Unless there's a better way than yum list for us to find out whether a package is virtual, I don't think we can do much to fix this without regressing on handling of virtual packages. None of us working on Puppet right now are yum experts, and when I try to google how to determine if a package is virtual what I end up getting is old Puppet tickets, which doesn't bode well. 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-4039) package resource doesn't find new packages in yum repo
Title: Message Title Steve Barlow updated an issue Puppet / PUP-4039 package resource doesn't find new packages in yum repo Change By: Steve Barlow Fix Version/s: PUP 5.0.0 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-4039) package resource doesn't find new packages in yum repo
Title: Message Title Steve Barlow updated an issue Puppet / PUP-4039 package resource doesn't find new packages in yum repo Change By: Steve Barlow Sprint: Client 2016-05-04 , Client 2016-05-18 (Freeze) 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-4039) package resource doesn't find new packages in yum repo
Title: Message Title Branan Riley updated an issue Puppet / PUP-4039 package resource doesn't find new packages in yum repo Change By: Branan Riley Sprint: Client 2016-05-04 , Client 2016-05-18 (Freeze) 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-4039) package resource doesn't find new packages in yum repo
Title: Message Title Branan Riley commented on PUP-4039 Re: package resource doesn't find new packages in yum repo My thoughts haven't really changed - fixing this in the package type would either regress on PUP-2182 , or cause a pretty major slowdown. Making the yumrepo type do the sync would also be super slow for anyone who adds a bunch of repositories. At this point I'm inclined to sit on this until we're ready to work PUP-1061 - that will require doing enough surgery to how packages are installed that we can more easily do the metadata refresh in a way that's amortized across many packages. 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-4039) package resource doesn't find new packages in yum repo
Title: Message Title Robin Bowes commented on PUP-4039 Re: package resource doesn't find new packages in yum repo I've done a bit of research into this and wonder if "yum info" is a better command to use? This also exits 1 if the specified package is not found, but updates the yum cache if necessary. 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-4039) package resource doesn't find new packages in yum repo
Title: Message Title Matthew Cover commented on PUP-4039 Re: package resource doesn't find new packages in yum repo Submitted a PR https://github.com/puppetlabs/puppet/pull/5699. 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-4039) package resource doesn't find new packages in yum repo
Title: Message Title Matthew Cover commented on PUP-4039 Re: package resource doesn't find new packages in yum repo I also tested this in vagrant, with the same set up as above. This time using puppet. #!/bin/bash run() { echo "==> Running: $@" "$@" 2>&1 | awk '{ print "\t", $0; fflush(); }' } metadata_age() { echo "`date '+%s'`-`stat -c '%Y' /var/cache/yum/x86_64/7/test/cachecookie`" | bc -l }
Jira (PUP-4039) package resource doesn't find new packages in yum repo
Title: Message Title Geoff Nichols updated an issue Puppet / PUP-4039 package resource doesn't find new packages in yum repo Change By: Geoff Nichols Fix Version/s: PUP 5.0.0 Fix Version/s: PUP 6.0.0 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-4039) package resource doesn't find new packages in yum repo
Title: Message Title Robin Bowes commented on PUP-4039 Re: package resource doesn't find new packages in yum repo Two things: 1. This ticket is marked as "Needs Information". What information does it need? 2. Why has fix version been moved to 6.0.0? Why not fix it in the next release? R. 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-4039) package resource doesn't find new packages in yum repo
Title: Message Title Branan Riley commented on PUP-4039 Re: package resource doesn't find new packages in yum repo Robin Bowes This was marked Needs Info almost a year ago. It looks like Michael Stahnke marked it as that when he last commented, and I think it should go back to accepted at this point (I'm doing that as I post this). As for the version bump: We're likely not going to tackle this ourselves any time soon, for the same reasons as last year (there are workarounds, it's a Yum issue, etc.) If we end up accepting Matthew Cover's PR (which I'm glancing at now), the actual fix version could end up being 4.10 or 5.0. 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-4039) package resource doesn't find new packages in yum repo
Title: Message Title Branan Riley updated an issue Puppet / PUP-4039 package resource doesn't find new packages in yum repo Change By: Branan Riley Story Points: 3 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-4039) package resource doesn't find new packages in yum repo
Title: Message Title Branan Riley updated an issue Puppet / PUP-4039 package resource doesn't find new packages in yum repo Change By: Branan Riley 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-4039) package resource doesn't find new packages in yum repo
Title: Message Title Matthew Cover commented on PUP-4039 Re: package resource doesn't find new packages in yum repo I think I've figured out a better way to solve this than (#5699|https://github.com/puppetlabs/puppet/pull/5699). I'd still like to see (#5699|https://github.com/puppetlabs/puppet/pull/5699) get merged as it fixes this issue. Then we can work the proposal below as a separate effort. `yum install` has 3 alternate versions which can be seen in the (rhel7 documentation|https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/System_Administrators_Guide/sec-Working_with_Packages.html). yum install-n name yum install-na name.architecture yum install-nevra name-epoch:version-release.architecture Unlike `yum install`, `yum install-n` will not install virtual packages ('virtual capabilities' in RPM parlance), but will install with the real package name. [root@localhost ~]# yum install-n inetd Loaded plugins: fastestmirror
Jira (PUP-4039) package resource doesn't find new packages in yum repo
Title: Message Title Robin Bowes commented on PUP-4039 Re: package resource doesn't find new packages in yum repo It seems to be in this patch: http://yum.baseurl.org/gitweb?p=yum.git;a=commit;h=d56dcaa8ba266873b32832e713fc8199c9a9f45f A quick check on CentOS 6 vs. CentOS 7 reveals it's not in EL6 but is in EL7. 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-4039) package resource doesn't find new packages in yum repo
Title: Message Title Matthew Cover commented on PUP-4039 Re: package resource doesn't find new packages in yum repo Thanks for checking on that. Yeah, I don't see it on CentOS 6.8... so that's not going to work in every case. #5699 is a better general fix. It may be worthwhile to check for the presence of install-n (one way would be via yum help install) and create a fast path when it's available. I'm not entirely sure the gain is worth the effort though. 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-4039) package resource doesn't find new packages in yum repo
Title: Message Title Nate McCurdy commented on PUP-4039 Re: package resource doesn't find new packages in yum repo I've found another problem caused by the patch made for PUP-2182, and it has to do with installing RPM's using the package resource and yum provider in cases where the RPM is specified in the source parameter. For example: # This causes 'yum list pdk' to be run before 'yum install pdk'. # And in the case where we don't have the 'puppet6' repo installed, 'yum list' fails\ # as it can't find the 'pdk' package. package { 'pdk': ensure => 'installed', source => 'http://yum.puppet.com/puppet6/el/8/x86_64/pdk-1.18.1.0-1.el8.x86_64.rpm', provider=> 'yum', allow_virtual => false, } # This works because 'yum list' is not called prior to 'yum install'. package { 'pdk':
Jira (PUP-4039) package resource doesn't find new packages in yum repo
Title: Message Title Scott Garman updated an issue Puppet / PUP-4039 package resource doesn't find new packages in yum repo Change By: Scott Garman 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-4039) package resource doesn't find new packages in yum repo
Title: Message Title Moses Mendoza updated an issue Puppet / PUP-4039 package resource doesn't find new packages in yum repo 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-4039) package resource doesn't find new packages in yum repo
Title: Message Title Scott Garman updated an issue Puppet / PUP-4039 package resource doesn't find new packages in yum repo Change By: Scott Garman Sprint: Client 2016-05-04 , Agent Grooming 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-4039) package resource doesn't find new packages in yum repo
Title: Message Title Scott Garman assigned an issue to Geoff Nichols Puppet / PUP-4039 package resource doesn't find new packages in yum repo Change By: Scott Garman Assignee: Robin Bowes Geoff Nichols 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-4039) package resource doesn't find new packages in yum repo
Title: Message Title Josh Cooper updated an issue Puppet / PUP-4039 package resource doesn't find new packages in yum repo Change By: Josh Cooper Fix Version/s: PUP 6.0.0 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-4039) package resource doesn't find new packages in yum repo
Title: Message Title Geoff Nichols updated an issue Puppet / PUP-4039 package resource doesn't find new packages in yum repo Change By: Geoff Nichols Sprint: Client 2016-05-04, Agent Platform OS Grooming 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-4039) package resource doesn't find new packages in yum repo
Title: Message Title Geoff Nichols updated an issue Puppet / PUP-4039 package resource doesn't find new packages in yum repo Change By: Geoff Nichols Team: Agent Platform OS 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-4039) package resource doesn't find new packages in yum repo
Title: Message Title Geoff Nichols assigned an issue to Unassigned Puppet / PUP-4039 package resource doesn't find new packages in yum repo Change By: Geoff Nichols Assignee: Geoff Nichols 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-4039) package resource doesn't find new packages in yum repo
Title: Message Title Geoff Nichols updated an issue Puppet / PUP-4039 package resource doesn't find new packages in yum repo Change By: Geoff Nichols Sprint: Client 2016-05-04, Platform OS Grooming Community 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-4039) package resource doesn't find new packages in yum repo
Title: Message Title Branan Riley updated an issue Puppet / PUP-4039 package resource doesn't find new packages in yum repo Change By: Branan Riley Labels: community linux package redhat triaged type_and_provider yum Add Comment This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93) -- 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-4039) package resource doesn't find new packages in yum repo
Title: Message Title Branan Riley updated an issue Puppet / PUP-4039 package resource doesn't find new packages in yum repo Change By: Branan Riley Sprint: Client 2016-05-04, Platform OS Community PR Kanban Add Comment This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93) -- 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-4039) package resource doesn't find new packages in yum repo
Title: Message Title Geoff Nichols updated an issue Puppet / PUP-4039 package resource doesn't find new packages in yum repo Change By: Geoff Nichols Sprint: Client 2016-05-04 , Platform OS Kanban Add Comment This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93) -- 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-4039) package resource doesn't find new packages in yum repo
Title: Message Title jagadish honnappa commented on PUP-4039 Re: package resource doesn't find new packages in yum repo Hello, As we know this problem is due to "yum list" will look only local cache. Any method we apply, it should refresh the metadata then only problem will get resolved .. right?!! i have applied below code and it works fine. package { 'new-pkg-name': ensure => 'present', require => Exec['yum-clean-expire-cache'], } exec { 'yum-clean-expire-cache': path => '/usr/bin:/usr/sbin:/bin', command => '/usr/bin/yum clean expire-cache', unless => [ 'yum -d 0 -e 0 -y list new-pkg-name' ], } Regards Jagadish Add Comment This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93) -- 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-4039) package resource doesn't find new packages in yum repo
Title: Message Title Geoff Nichols updated an issue Puppet / PUP-4039 package resource doesn't find new packages in yum repo Change By: Geoff Nichols Labels: community linux package redhat triaged type_and_provider yum Add Comment This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93) -- 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-4039) package resource doesn't find new packages in yum repo
Title: Message Title Melissa Stone updated an issue Puppet / PUP-4039 package resource doesn't find new packages in yum repo Change By: Melissa Stone Labels: community 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.