summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorLuke Kanies <luke@madstop.com>2009-05-06 12:00:23 -0700
committerJames Turnbull <james@lovedthanlost.net>2009-05-15 09:58:26 +1000
commit4f3a67f21568394dd89a969bd373cbbd59784f7e (patch)
treea3d7c60a5be395c2cbc6fce430c29229897e7ad5 /lib
parent2d580c257e6d8aa0821fd443e8b817027407212c (diff)
downloadpuppet-4f3a67f21568394dd89a969bd373cbbd59784f7e.tar.gz
puppet-4f3a67f21568394dd89a969bd373cbbd59784f7e.tar.xz
puppet-4f3a67f21568394dd89a969bd373cbbd59784f7e.zip
Fixing #2221 - pluginsignore should work again
We weren't splitting on whitespace, which is necessary since the settings don't support arrays but files expect them. Signed-off-by: Luke Kanies <luke@madstop.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/puppet/configurer/downloader.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/puppet/configurer/downloader.rb b/lib/puppet/configurer/downloader.rb
index 9653c3a58..7409fca64 100644
--- a/lib/puppet/configurer/downloader.rb
+++ b/lib/puppet/configurer/downloader.rb
@@ -56,7 +56,7 @@ class Puppet::Configurer::Downloader
def file
args = default_arguments.merge(:path => path, :source => source)
- args[:ignore] = ignore if ignore
+ args[:ignore] = ignore.split if ignore
Puppet::Type.type(:file).new(args)
end