# File lib/puppet/provider/package/dpkg.rb, line 64 64: def install 65: unless file = @resource[:source] 66: raise ArgumentError, "You cannot install dpkg packages without a source" 67: end 68: 69: args = [] 70: 71: # We always unhold when installing to remove any prior hold. 72: self.unhold 73: 74: if @resource[:configfiles] == :keep 75: args << '--force-confold' 76: else 77: args << '--force-confnew' 78: end 79: args << '-i' << file 80: 81: dpkg(*args) 82: end