Jira (PUP-7238) Yum package provider should support reinstall

3 views
Skip to first unread message

Justin (JIRA)

unread,
Feb 21, 2017, 4:50:03 PM2/21/17
to puppe...@googlegroups.com
Justin created an issue
 
Puppet / New Feature PUP-7238
Yum package provider should support reinstall
Issue Type: New Feature New Feature
Assignee: Unassigned
Created: 2017/02/21 1:49 PM
Priority: Normal Normal
Reporter: Justin

We were attempting to reinstall a yum (rpm) package using the "reinstall_on_refresh" capability of the package. However, it did not do the reinstall because the package provider does not support this feature.

Yum has a reinstall command, it would be nice if puppet could use this.

Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe)
Atlassian logo

John Duarte (JIRA)

unread,
Feb 22, 2017, 12:08:04 PM2/22/17
to puppe...@googlegroups.com
John Duarte updated an issue
Change By: John Duarte
Team: Agent & Platform

John Duarte (JIRA)

unread,
Feb 22, 2017, 12:08:04 PM2/22/17
to puppe...@googlegroups.com
John Duarte updated an issue
Change By: John Duarte
Sprint: Puppet Triage

Justin (JIRA)

unread,
Feb 22, 2017, 1:08:03 PM2/22/17
to puppe...@googlegroups.com
Justin commented on New Feature PUP-7238
 
Re: Yum package provider should support reinstall

The workaround we did is to write our own custom yum package provider. We added the "reinstallable" feature and then a function like so:

def reinstall
     current_package = self.query
     self.debug "Reinstalling #{@resource[:name]} version #{current_package[:ensure]}"
     execute([command(:cmd), "-y", :reinstall, @resource[:name]])
end

in our tests, this seemed to work.

Geoff Nichols (JIRA)

unread,
Feb 23, 2017, 2:01:04 PM2/23/17
to puppe...@googlegroups.com
Geoff Nichols updated an issue
 
Change By: Geoff Nichols
Sprint: Puppet Triage AP Accepted

Geoff Nichols (JIRA)

unread,
Apr 5, 2017, 1:07:09 AM4/5/17
to puppe...@googlegroups.com
Geoff Nichols updated an issue
Change By: Geoff Nichols
Sprint: Agent Accepted

Scott Garman (JIRA)

unread,
May 17, 2017, 2:15:07 PM5/17/17
to puppe...@googlegroups.com

Edwin Wiles (JIRA)

unread,
May 8, 2018, 6:58:03 PM5/8/18
to puppe...@googlegroups.com
Edwin Wiles commented on New Feature PUP-7238
 
Re: Yum package provider should support reinstall

I'm curious, why is this not yet fixed?

I looked at 6735 and 8157, and there doesn't appear to be any explanation as to why this issue has not been fixed; just a comment in 8157 that it was removed from the epic.

What am I missing?

Thanks!

This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93)
Atlassian logo

Branan Riley (JIRA)

unread,
May 14, 2018, 2:46:03 PM5/14/18
to puppe...@googlegroups.com
Branan Riley commented on New Feature PUP-7238

Edwin Wiles We're re-organizing our backlog away from using open-ended epics as buckets of tickets, to using labels so we can slice-and-dice the backlog more easily. Part of this effort is bringing easy tickets like this to light, so hopefully it'll end up on a roadmap soon.

Branan Riley (JIRA)

unread,
May 14, 2018, 2:46:03 PM5/14/18
to puppe...@googlegroups.com
Branan Riley updated an issue
 
Change By: Branan Riley
Labels: el redhat triaged type_and_provider yum

Oleksandr Lytvyn (Jira)

unread,
Aug 4, 2022, 4:06:01 AM8/4/22
to puppe...@googlegroups.com
This message was sent by Atlassian Jira (v8.20.11#820011-sha1:0629dd8)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages