Issue #4976 has been updated by Aggelos Economopoulos.

File force.patch added

I wanted to do something similar last week (see attached patch). Unfortunately, 
it turns out that required_features is not enforced for parameters. This means 
that puppet would accept a force parameter even for providers that don't know 
about it (in my patch, everything other than apt) or can't handle it. Therefore 
I don't think my patch should be included yet, although it works fine for me.

----------------------------------------
Feature #4976: force package install
https://projects.puppetlabs.com/issues/4976

Author: mark foster
Status: Accepted
Priority: Normal
Assignee: Nigel Kersten
Category: package
Target version: 
Affected version: 
Keywords: 
Branch: 


Please add force as an optional attribute to the package provider
For apt-get, this should add --force-yes to the arguments
For yum, this should add --no-deps

Thanks.


-- 
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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.

Reply via email to