--- lib/puppet/provider/package/ports.rb.orig 2015-11-03 18:19:47 UTC +++ lib/puppet/provider/package/ports.rb @@ -1,12 +1,12 @@ -Puppet::Type.type(:package).provide :ports, :parent => :freebsd, :source => :freebsd do - desc "Support for FreeBSD's ports. Note that this, too, mixes packages and ports." +Puppet::Type.type(:package).provide :ports, :parent => :bsdsunix, :source => :bsdsunix do + desc "Support for BSDSUniX's ports. Note that this, too, mixes packages and ports." commands :portupgrade => "/usr/local/sbin/portupgrade", :portversion => "/usr/local/sbin/portversion", :portuninstall => "/usr/local/sbin/pkg_deinstall", :portinfo => "/usr/sbin/pkg_info" - defaultfor :operatingsystem => :freebsd + defaultfor :operatingsystem => :bsdsunix # I hate ports %w{INTERACTIVE UNAME}.each do |var|