summaryrefslogtreecommitdiffstats
path: root/lib/puppet/file_serving/content.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/puppet/file_serving/content.rb')
-rw-r--r--lib/puppet/file_serving/content.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/puppet/file_serving/content.rb b/lib/puppet/file_serving/content.rb
index 0f169c28b..c1ecff749 100644
--- a/lib/puppet/file_serving/content.rb
+++ b/lib/puppet/file_serving/content.rb
@@ -28,6 +28,7 @@ class Puppet::FileServing::Content < Puppet::FileServing::Base
# Collect our data.
def collect
+ return if stat.ftype == "directory"
content
end