# File lib/puppet/provider/package/aptrpm.rb, line 25
25:   def install
26:     should = @resource.should(:ensure)
27: 
28:     str = @resource[:name]
29:     case should
30:     when true, false, Symbol
31:       # pass
32:     else
33:       # Add the package version
34:       str += "=#{should}"
35:     end
36:     cmd = %w{-q -y}
37: 
38:     cmd << 'install' << str
39: 
40:     aptget(*cmd)
41:   end