Uploaded image for project: 'Puppet'
  1. Puppet
  2. PUP-3720

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

    XMLWordPrintable

Details

    • Platform OS
    • Reviewed

    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

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

              Dates

                Created:
                Updated:
                Resolved:

                Zendesk Support