Skip to content

Commit

Permalink
Way to be an asshole FreeBSD. Thanks...
Browse files Browse the repository at this point in the history
  • Loading branch information
sethvargo committed Jun 2, 2014
1 parent 89fbd9c commit 13ff143
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
1 change: 1 addition & 0 deletions lib/chefspec.rb
Expand Up @@ -6,6 +6,7 @@
require_relative 'chefspec/extensions/chef/lwrp_base'
require_relative 'chefspec/extensions/chef/resource'
require_relative 'chefspec/extensions/chef/securable'
require_relative 'chefspec/extensions/chef/resource/freebsd_package'

require_relative 'chefspec/mixins/normalize'

Expand Down
19 changes: 19 additions & 0 deletions lib/chefspec/extensions/chef/resource/freebsd_package.rb
@@ -0,0 +1,19 @@
require 'chef/resource/freebsd_package'

class Chef
class Resource
class FreebsdPackage < Chef::Resource::Package
#
# Chef decided it was a good idea to just shellout inside of a resource.
# Not only is that a horrible fucking idea, but I got flak when I asked
# to change it. So we are just going to monkey patch the fucking thing so
# it does not shell out.
#
# @return [false]
#
def supports_pkgng?
false
end
end
end
end

0 comments on commit 13ff143

Please sign in to comment.