Uploaded image for project: 'Puppet Enterprise'
  1. Puppet Enterprise
  2. ENTERPRISE-185

puppet resource package returns a package resource that doesn't actually work on Solaris 10

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Duplicate
    • Affects Version/s: PE 3.2.3
    • Fix Version/s: None
    • Component/s: None
    • Labels:
    • Template:

      Description

      When I run puppet resource package --param provider CSWmonit it returns me a package that looks like so and I want to use it to manage CSWmonit

      package { 'CSWmonit': 
        ensure => '5.5.1,REV=2013.07.09', 
        provider => 'sun', 
      }
      

      However, when I try to use it I get the following error:

      Error: Sun packages must specify a package source 
      Error: /Stage[main]/Main/Package[CSWmonit]/ensure: change from absent to present failed: Sun packages must specify a package source
      

      In order for this resource to work I have to change the package provider to pkgutil.

      package { 'CSWmonit': 
        ensure => '5.5.1,REV=2013.07.09', 
        provider => 'pkgutil', 
      }
      

      Why can't puppet resource package --param provider return the correct provider for managing the package?

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              nick.walker Nick Walker
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Zendesk Support