Details
-
Bug
-
Status: Closed
-
Normal
-
Resolution: Duplicate
-
None
-
None
-
None
-
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
- blocks
-
ENTERPRISE-185 puppet resource package returns a package resource that doesn't actually work on Solaris 10
-
- Closed
-
- relates to
-
PUP-2175 Consider Adding Provider To The Default Output of `puppet resource package`
-
- Resolved
-