Issue #17807 has been reported by Jim Pirzyk.
----------------------------------------
Bug #17807: pkg_delete on FreeBSD does not work
https://projects.puppetlabs.com/issues/17807
Author: Jim Pirzyk
Status: Unreviewed
Priority: Normal
Assignee:
Category:
Target version:
Affected Puppet version:
Keywords: FreeBSD, pkg_delete
Branch:
Given this puppet code:
package { 'gawk':
ensure => absent
}
generates this error:
err: /Stage[main]/Awk::Gawk/Pkg[gawk]/Package[gawk]/ensure: change from 4.0.1
to absent failed: Execution of '/usr/sbin/pkg_delete gawk-absent' returned 1:
pkg_delete: no such package 'gawk-absent' installed
Obviously this is not a proper pkg_delete command line. It should not be using
the ensure parameter. See provided patch for simple fix (using regex to match
version).
--
You have received this notification because you have either subscribed to it,
or are involved in it.
To change your notification preferences, please click here:
http://projects.puppetlabs.com/my/account
--
You received this message because you are subscribed to the Google Groups
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/puppet-bugs?hl=en.