Jira (PUP-8132) Package Resource Always Uses -i Flag and Errors out if Already Installed
Title: Message Title Daniel Mcilhagga assigned an issue to Daniel Mcilhagga Puppet / PUP-8132 Package Resource Always Uses -i Flag and Errors out if Already Installed Change By: Daniel Mcilhagga Assignee: Daniel Mcilhagga 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-8132) Package Resource Always Uses -i Flag and Errors out if Already Installed
Title: Message Title Josh Cooper commented on PUP-8132 Re: Package Resource Always Uses -i Flag and Errors out if Already Installed Yes, puppet doesn't think the package is installed, so tries to install it again. The one concerning thing is that the second and third rpm commands are missing single quotes around the NEVRA format, e.g. /bin/rpm -q Python-3.5.2-puppet-0.x86_64 --nosignature --nodigest --qf %{NAME} %|EPOCH?{%{EPOCH}}:{0}| %{VERSION} %{RELEASE} %{ARCH}\n Should instead be: /bin/rpm -q Python-3.5.2-puppet-0.x86_64 --nosignature --nodigest --qf '%{NAME} %|EPOCH?{%{EPOCH}}:{0}| %{VERSION} %{RELEASE} %{ARCH}\n' PE 2016.4.2 contains puppet 4.7.0 and PE 2017.2.2 contains puppet 4.10.4. I think this issue is a duplicate of PUP-7214 or at least related to it. The fix for that was released in puppet 4.10.5, so can you try to repro using puppet-agent 1.10.5 or later? Also please try executing the same commands that puppet executes to see if why puppet doesn't recognize that the package is already installed. Add Comment
Jira (PUP-8132) Package Resource Always Uses -i Flag and Errors out if Already Installed
Title: Message Title Charlie Sharpsteen updated an issue Puppet / PUP-8132 Package Resource Always Uses -i Flag and Errors out if Already Installed Change By: Charlie Sharpsteen Team: Platform Core 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-8132) Package Resource Always Uses -i Flag and Errors out if Already Installed
Title: Message Title Charlie Sharpsteen moved an issue Puppet / PUP-8132 Package Resource Always Uses -i Flag and Errors out if Already Installed Change By: Charlie Sharpsteen Key: ENTERPRISE PUP - 1116 8132 Project: Puppet Enterprise 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.