summaryrefslogtreecommitdiffstats
path: root/lib/puppet/file_serving
diff options
context:
space:
mode:
authorLuke Kanies <luke@madstop.com>2007-10-22 22:37:52 -0500
committerLuke Kanies <luke@madstop.com>2007-10-22 22:37:52 -0500
commitde5d91e2036de2934a4eec79d35a714f3ed24b10 (patch)
tree1f6c074f749b9eb513baefaac7ac7cc952b381cb /lib/puppet/file_serving
parent7fa99b08f9aa3777fba82f24eb5bb391f3758f48 (diff)
downloadpuppet-de5d91e2036de2934a4eec79d35a714f3ed24b10.tar.gz
puppet-de5d91e2036de2934a4eec79d35a714f3ed24b10.tar.xz
puppet-de5d91e2036de2934a4eec79d35a714f3ed24b10.zip
Renaming the :local termini for metadata and content
to :file.
Diffstat (limited to 'lib/puppet/file_serving')
-rw-r--r--lib/puppet/file_serving/terminus_selector.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/puppet/file_serving/terminus_selector.rb b/lib/puppet/file_serving/terminus_selector.rb
index aa08f087e..06b53ddb1 100644
--- a/lib/puppet/file_serving/terminus_selector.rb
+++ b/lib/puppet/file_serving/terminus_selector.rb
@@ -9,11 +9,11 @@ require 'puppet/file_serving'
# in file-serving indirections. This is necessary because
# the terminus varies based on the URI asked for.
module Puppet::FileServing::TerminusSelector
- PROTOCOL_MAP = {"puppet" => :rest, "file" => :local, "puppetmounts" => :file_server}
+ PROTOCOL_MAP = {"puppet" => :rest, "file" => :file, "puppetmounts" => :file_server}
# Pick an appropriate terminus based on the protocol.
def select_terminus(full_uri, options = {})
- # Short-circuit to :local if it's a fully-qualified path.
+ # Short-circuit to :file if it's a fully-qualified path.
return PROTOCOL_MAP["file"] if full_uri =~ /^#{::File::SEPARATOR}/
begin
uri = URI.parse(URI.escape(full_uri))