We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1d4fd1b commit 56dc341Copy full SHA for 56dc341
lib/puppet/provider/package/openbsd.rb
@@ -117,16 +117,12 @@ def uninstall_options
117
[join_options(resource[:uninstall_options])]
118
end
119
120
- def uninstall(purge = false)
121
- if purge
122
- pkgdelete "-c", "-qq", uninstall_options.flatten.compact, get_full_name
123
- else
124
- pkgdelete uninstall_options.flatten.compact, get_full_name
125
- end
+ def uninstall
+ pkgdelete uninstall_options.flatten.compact, get_full_name
126
127
128
def purge
129
- uninstall(purge = true)
+ pkgdelete "-c", "-qq", uninstall_options.flatten.compact, get_full_name
130
131
132
def flavor
0 commit comments