diff options
author | Jay Mundrawala <jdmundrawala@gmail.com> | 2015-03-25 09:24:48 -0700 |
---|---|---|
committer | Jay Mundrawala <jdmundrawala@gmail.com> | 2015-03-25 09:24:48 -0700 |
commit | 299deb38d70c32b842a97f878718f70ecc3bd763 (patch) | |
tree | a398654ffa7f41280ddf87dd0a3fe9b5800a307e | |
parent | 47d567f2845a71a5ce67213da66fda87f5212fe7 (diff) | |
download | chef-jdm/dsc-resource.tar.gz |
Fixed bug where module_name would return an object instead of stringjdm/dsc-resource
-rw-r--r-- | lib/chef/provider/dsc_resource.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/provider/dsc_resource.rb b/lib/chef/provider/dsc_resource.rb index fabb695803..2812c154c6 100644 --- a/lib/chef/provider/dsc_resource.rb +++ b/lib/chef/provider/dsc_resource.rb @@ -107,7 +107,7 @@ class Chef if found[0]['Module'].nil? :none else - found[0]['Module'] + found[0]['Module']['Name'] end else raise Chef::Exceptions::MultipleDscResourcesFound, found |