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 [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.