summaryrefslogtreecommitdiff
path: root/lib/chef/provider/remote_file
diff options
context:
space:
mode:
authornimisha <nimisha.sharad@msystechnologies.com>2017-02-24 18:46:51 +0530
committerBryan McLellan <btm@loftninjas.org>2017-09-05 20:09:30 -0400
commit24de354c67305563f677080c03b8892c4a9e0fb1 (patch)
tree9e3657586d78f843aa3e139ecccba9d67e72efaf /lib/chef/provider/remote_file
parent35f4cafac60770b59853d7e12b418f1971d234db (diff)
downloadchef-24de354c67305563f677080c03b8892c4a9e0fb1.tar.gz
Fixing specs
Signed-off-by: nimisha <nimisha.sharad@msystechnologies.com>
Diffstat (limited to 'lib/chef/provider/remote_file')
-rw-r--r--lib/chef/provider/remote_file/fetcher.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/provider/remote_file/fetcher.rb b/lib/chef/provider/remote_file/fetcher.rb
index 6a4711d097..3011dd80a0 100644
--- a/lib/chef/provider/remote_file/fetcher.rb
+++ b/lib/chef/provider/remote_file/fetcher.rb
@@ -25,7 +25,7 @@ class Chef
def self.for_resource(uri, new_resource, current_resource)
if network_share?(uri)
if !Chef::Platform.windows?
- raise Exceptions::UnsupportedPlatform, "Fetching the file on a network share is supported only on the Windows platform. Please change your source: #{uri}"
+ raise Exceptions::UnsupportedPlatform, "Fetching the file on a network share is supported only on the Windows platform. Please change your source: #{uri}"
end
Chef::Provider::RemoteFile::NetworkFile.new(uri, new_resource, current_resource)
else