vendored/puppet/lib/puppet/provider/package/apple.rb in bolt-0.11.0 vs vendored/puppet/lib/puppet/provider/package/apple.rb in bolt-0.12.0
- old
+ new
@@ -35,10 +35,9 @@
def query
Puppet::FileSystem.exist?("/Library/Receipts/#{@resource[:name]}.pkg") ? {:name => @resource[:name], :ensure => :present} : nil
end
def install
- source = nil
unless source = @resource[:source]
self.fail _("Mac OS X packages must specify a package source")
end
installer "-pkg", source, "-target", "/"