diff --git a/providers/pool.rb b/providers/pool.rb index 1571c28c..5211c510 100644 --- a/providers/pool.rb +++ b/providers/pool.rb @@ -31,7 +31,7 @@ if !@current_resource.exists cmd = "#{appcmd(node)} add apppool /name:\"#{new_resource.pool_name}\"" if new_resource.no_managed_code - cmd << " /managedRuntimeVersion:\"\"" + cmd << " /managedRuntimeVersion:" else cmd << " /managedRuntimeVersion:v#{new_resource.runtime_version}" if new_resource.runtime_version end @@ -212,7 +212,7 @@ def configure end if new_resource.no_managed_code - configure_application_pool(is_new_managed_runtime_version, "managedRuntimeVersion:\"\"") + configure_application_pool(is_new_managed_runtime_version, "managedRuntimeVersion:") else configure_application_pool(new_resource.runtime_version && is_new_managed_runtime_version, "managedRuntimeVersion:v#{new_resource.runtime_version}") end