# File lib/chef/resource/freebsd_package.rb, line 42 def after_created assign_provider end
This resource can be invoked with multiple names package & freebsd_package. We override the to_s method to ensure the key in resource collection matches the type resource is declared as using created_as_type. This logic can be removed once Chef does this for all resource in Chef 12: github.com/opscode/chef/issues/1817
# File lib/chef/resource/freebsd_package.rb, line 51 def to_s "#{created_as_type}[#{name}]" end
Generated with the Darkfish Rdoc Generator 2.