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 272abb9 commit e7fcd86Copy full SHA for e7fcd86
lib/puppet/provider/package/dpkg.rb
@@ -7,7 +7,7 @@
7
and not `apt`, you must specify the source of any packages you want
8
to manage."
9
10
- has_feature :holdable, :virtual_packages
+ has_feature :holdable, :virtual_packages, :install_options
11
commands :dpkg => "/usr/bin/dpkg"
12
commands :dpkg_deb => "/usr/bin/dpkg-deb"
13
commands :dpkgquery => "/usr/bin/dpkg-query"
@@ -94,6 +94,10 @@ def install
94
95
args = []
96
97
+ if @resource[:install_options]
98
+ args << @resource[:install_options]
99
+ end
100
+
101
if @resource[:configfiles] == :keep
102
args << '--force-confold'
103
else
0 commit comments