lib/puppet/provider/package/up2date.rb in puppet-2.7.26 vs lib/puppet/provider/package/up2date.rb in puppet-3.0.0.rc4

- old
+ new

@@ -2,13 +2,12 @@ desc "Support for Red Hat's proprietary `up2date` package update mechanism." commands :up2date => "/usr/sbin/up2date-nox" - defaultfor :operatingsystem => [:redhat, :oel, :ovm], - :lsbdistrelease => ["2.1", "3", "4"] + defaultfor :osfamily => :redhat, :lsbdistrelease => ["2.1", "3", "4"] - confine :operatingsystem => [:redhat, :oel, :ovm] + confine :osfamily => :redhat # Install a package using 'up2date'. def install up2date "-u", @resource[:name]