diff options
author | Jay Mundrawala <jdmundrawala@gmail.com> | 2015-05-07 09:35:54 -0700 |
---|---|---|
committer | Jay Mundrawala <jdmundrawala@gmail.com> | 2015-05-07 09:35:54 -0700 |
commit | 03a8b4cc50f02d588e55b2d69e362512170076ac (patch) | |
tree | 3040d85af0265b6b1456f50de85a3be56278ed52 /lib/chef/provider/remote_file/fetcher.rb | |
parent | ff8e731efcb4034a2538da7a51d4065afd81db15 (diff) | |
download | chef-03a8b4cc50f02d588e55b2d69e362512170076ac.tar.gz |
Allow unc to have ip addressjdm/smb
Diffstat (limited to 'lib/chef/provider/remote_file/fetcher.rb')
-rw-r--r-- | lib/chef/provider/remote_file/fetcher.rb | 2 |
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 91ad11aa34..53bfe9935c 100644 --- a/lib/chef/provider/remote_file/fetcher.rb +++ b/lib/chef/provider/remote_file/fetcher.rb @@ -43,7 +43,7 @@ class Chef def self.network_share?(source) case source when String - !!(%r{\A\\\\[A-Za-z][A-Za-z0-9+\-\.]*} =~ source) + !!(%r{\A\\\\[A-Za-z0-9+\-\.]+} =~ source) else false end |