diff options
| author | luke <luke@980ebf18-57e1-0310-9a29-db15c13687c0> | 2007-06-18 20:10:35 +0000 |
|---|---|---|
| committer | luke <luke@980ebf18-57e1-0310-9a29-db15c13687c0> | 2007-06-18 20:10:35 +0000 |
| commit | f96ec6d7ab9d18d2068f388508d811c39973df1e (patch) | |
| tree | 472b08a72b97aa44b688b60c3bbc332a7f772d36 /lib/puppet/provider/package/apt.rb | |
| parent | 3f6c41334e3cd78c2323900d70fac519cccb3141 (diff) | |
| download | puppet-f96ec6d7ab9d18d2068f388508d811c39973df1e.tar.gz puppet-f96ec6d7ab9d18d2068f388508d811c39973df1e.tar.xz puppet-f96ec6d7ab9d18d2068f388508d811c39973df1e.zip | |
Updating the has_version work that Matt did -- the only thing he missed was that the :versionable feature depends on the :latest method, and when that is present we can safely assume that a package is versionable. Also, created the :latest method on the dpkg provider, as requested in #647.
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2615 980ebf18-57e1-0310-9a29-db15c13687c0
Diffstat (limited to 'lib/puppet/provider/package/apt.rb')
| -rwxr-xr-x | lib/puppet/provider/package/apt.rb | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/puppet/provider/package/apt.rb b/lib/puppet/provider/package/apt.rb index d39ce01f4..0f8cc8e76 100755 --- a/lib/puppet/provider/package/apt.rb +++ b/lib/puppet/provider/package/apt.rb @@ -4,8 +4,6 @@ Puppet::Type.type(:package).provide :apt, :parent => :dpkg, :source => :dpkg do desc "Package management via ``apt-get``." - has_feature :versionable - commands :aptget => "/usr/bin/apt-get" commands :aptcache => "/usr/bin/apt-cache" commands :preseed => "/usr/bin/debconf-set-selections" |
