[Puppet - Feature #19258] please provide ability for install_options for the portage provider
Issue #19258 has been updated by Theo Chatzimichos. Rob Nelson wrote: Theo, some time has elapsed and line 123 doesn't look to be relevant anymore, do you mean https://github.com/gentoo/puppet-portage/blob/master/manifests/package.pp#L181 or somewhere else? Please CP the snippet for future-proofing. Can you also provide an example of what you use now to workaround this and how you envision the fixed portage provider would be used? I’ve put this ticket’s status into “Needs more Information” and assigned it to you. Please either (a) update it with the information I’ve requested and re-assign it to me if you need more help, or (b) change the status to “Closed” if you were able to resolve the issue on your own. The relevant line now is https://github.com/gentoo/puppet-portage/blob/master/manifests/package.pp#L191 exec { rebuild_${name}: command = /usr/bin/emerge --changed-use -u1 ${name}, refreshonly = true, timeout = 43200, } Feature #19258: please provide ability for install_options for the portage provider https://projects.puppetlabs.com/issues/19258#change-98283 * Author: Theo Chatzimichos * Status: Needs More Information * Priority: Low * Assignee: Theo Chatzimichos * Category: * Target version: * Affected Puppet version: * Keywords: * Branch: It would be useful to be able to specify install_options to portage provider. Right now I need lots of exec classes instead to handle various cases (eg rebuild of a package when a USE flag is changed https://github.com/adrienthebo/puppet-portage/blob/master/manifests/package.pp#L123 ), something that will be extremely simplified if we get the ability to pass install_options there directly. -- You have received this notification because you have either subscribed to it, or are involved in it. To change your notification preferences, please click here: http://projects.puppetlabs.com/my/account -- 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/groups/opt_out.
[Puppet - Feature #19258] please provide ability for install_options for the portage provider
Issue #19258 has been updated by Theo Chatzimichos. Apologies for the lack of information. Right now, I need to write my own exec resource, with the arguments I need for the emerge command. One example is the snippet I gave earlier (Let me know if you need more examples). In this example, I am checking if a package has changed USE flags, and rebuilding it if so. What I would prefer to do, is to use the package resource directly, with something like the following: package { app-admin/puppet: install_options = [--changed-use, -u, -1] } Let me know if that is more clear Feature #19258: please provide ability for install_options for the portage provider https://projects.puppetlabs.com/issues/19258#change-98296 * Author: Theo Chatzimichos * Status: Needs More Information * Priority: Low * Assignee: Theo Chatzimichos * Category: * Target version: * Affected Puppet version: * Keywords: * Branch: It would be useful to be able to specify install_options to portage provider. Right now I need lots of exec classes instead to handle various cases (eg rebuild of a package when a USE flag is changed https://github.com/adrienthebo/puppet-portage/blob/master/manifests/package.pp#L123 ), something that will be extremely simplified if we get the ability to pass install_options there directly. -- You have received this notification because you have either subscribed to it, or are involved in it. To change your notification preferences, please click here: http://projects.puppetlabs.com/my/account -- 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/groups/opt_out.