Uploaded image for project: 'Modules'
  1. Modules
  2. MODULES-3597

set chocolatey as the default provider for package on windows

    XMLWordPrintable

Details

    • Improvement
    • Status: Needs Information
    • Normal
    • Resolution: Unresolved
    • None
    • None
    • chocolatey
    • 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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            geoff.williams Geoff Williams
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:

              Zendesk Support