Permalink
Browse files

Merge branch 'COOK-1007'

  • Loading branch information...
2 parents 095b4b2 + e208234 commit b04ee1147f9f75d7524f81de2ad3dd60e87f16a0 @jtimberman jtimberman committed Feb 13, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 windows/providers/feature_dism.rb
@@ -33,7 +33,7 @@ def remove_feature(name)
def installed?
@installed ||= begin
cmd = shell_out("#{dism} /online /Get-Features", {:returns => [0,42,127]})
- cmd.stderr.empty? && (cmd.stdout =~ /^Feature Name : #{@new_resource.feature_name}$\n^State : Enabled$/i)
+ cmd.stderr.empty? && (cmd.stdout =~ /^Feature Name : #{@new_resource.feature_name}.?$\n^State : Enabled.?$/i)
end
end

0 comments on commit b04ee11

Please sign in to comment.