Issue #4976 has been updated by Nigel Kersten.

I wouldn't look at the file type/provider, it's quite confusing compared to 
most of our others.

Have a look at the type:

http://github.com/puppetlabs/puppet/blob/master/lib/puppet/type/package.rb

You'll see how we talk about "features" within the type, and certain parameters 
require different features. That's the way I would suggest we do this, we set 
up the force parameter which requires the forceable feature, and then we 
declare that the appropriate package providers are forceable and modify them 
that way.

Does that make more sense? 
----------------------------------------
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