Jira (PUP-7023) Provider should attempt to read uninstall_options for package resource when provider not explicitly defined
Title: Message Title Branan Riley updated an issue Puppet / PUP-7023 Provider should attempt to read uninstall_options for package resource when provider not explicitly defined Change By: Branan Riley Labels: package 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-7023) Provider should attempt to read uninstall_options for package resource when provider not explicitly defined
Title: Message Title Branan Riley updated an issue Puppet / PUP-7023 Provider should attempt to read uninstall_options for package resource when provider not explicitly defined Change By: Branan Riley Labels: package triaged type_and_provider 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-7023) Provider should attempt to read uninstall_options for package resource when provider not explicitly defined
Title: Message Title Kirk Madera created an issue Puppet / PUP-7023 Provider should attempt to read uninstall_options for package resource when provider not explicitly defined Issue Type: Story Assignee: Unassigned Created: 2016/12/16 9:26 AM Priority: Normal Reporter: Kirk Madera When a provider is not specified in a package resource, but it can be determined automatically, uninstall_options should be read and used if supported by the selected provider. My test case for this was on CentOS7 attempting to uninstall mariadb-libs, which needs `--nodeps` specified in my case or it fails because of a dependency from Postfix. From reading the documentation here, it seemed that this code should work: package { 'mariadb-libs': ensure => absent, uninstall_options => ['--nodeps'],
Jira (PUP-7023) Provider should attempt to read uninstall_options for package resource when provider not explicitly defined
Title: Message Title Moses Mendoza commented on PUP-7023 Re: Provider should attempt to read uninstall_options for package resource when provider not explicitly defined Hi Kirk Madera - thanks for filing this. So was the output you saw that Puppet was selecting another provider which did not support the uninstall_options flag? 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-7023) Provider should attempt to read uninstall_options for package resource when provider not explicitly defined
Title: Message Title Kirk Madera commented on PUP-7023 Re: Provider should attempt to read uninstall_options for package resource when provider not explicitly defined I didn't find any output directly related to this, including with --debug on. An error was eventually hit because of the dependency issue and the package would not remove. The error displayed was the error from yum that the package couldn't be removed due to dependencies. My assumption is that it's automatically picking the rpm provider but probably after the check runs for whether or not the provider supports uninstall_options, or a similar scenario. 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-7023) Provider should attempt to read uninstall_options for package resource when provider not explicitly defined
Title: Message Title Branan Riley commented on PUP-7023 Re: Provider should attempt to read uninstall_options for package resource when provider not explicitly defined I believe the actual issue here is that Puppet would have selected the 'yum' provider instead of the 'rpm' provider. The yum provider does currently support uninstall_options. We should likely add that support to the yum provider. For now, explicitly specifying the provider is generally better if you're using install_options or uninstall_options, since the automatically-selected provider could change in the future anyway. 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-7023) Provider should attempt to read uninstall_options for package resource when provider not explicitly defined
Title: Message Title Branan Riley updated an issue Puppet / PUP-7023 Provider should attempt to read uninstall_options for package resource when provider not explicitly defined Change By: Branan Riley 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-7023) Provider should attempt to read uninstall_options for package resource when provider not explicitly defined
Title: Message Title Branan Riley updated an issue Puppet / PUP-7023 Provider should attempt to read uninstall_options for package resource when provider not explicitly defined Change By: Branan Riley Issue Type: Story Bug 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-7023) Provider should attempt to read uninstall_options for package resource when provider not explicitly defined
Title: Message Title Branan Riley updated an issue Puppet / PUP-7023 Provider should attempt to read uninstall_options for package resource when provider not explicitly defined 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.