Details
-
Improvement
-
Status: Needs Information
-
Normal
-
Resolution: Unresolved
-
None
-
None
-
Modules
-
Modules Triage
-
Reviewed
Description
Improvement
It would be a really handy improvement if chocolatey could self-nominate itself as the default provider on windows
Why is this needed
I think it would improve the user experience for our windows users, as they are currently required to add code like this to site.pp
|
Set Chocolatey as Default Windows Provider
|
|
If you want to set this provider as the site-wide default, add to your site.pp:
|
|
if $::kernel == 'windows' {
|
Package { provider => chocolatey, }
|
}
|
|
# OR
|
|
case $operatingsystem {
|
'windows': {
|
Package { provider => chocolatey, }
|
}
|
}
|
I would love for our windows users to just be able to pick up the product and use it. I believe that all thats required is the addition of the defaultfor attribute to the provider.