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 C&P 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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to