From 299deb38d70c32b842a97f878718f70ecc3bd763 Mon Sep 17 00:00:00 2001 From: Jay Mundrawala Date: Wed, 25 Mar 2015 09:24:48 -0700 Subject: Fixed bug where module_name would return an object instead of string --- lib/chef/provider/dsc_resource.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/chef/provider') 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 -- cgit v1.2.1