diff options
author | Luke Kanies <luke@madstop.com> | 2009-05-22 14:45:35 -0500 |
---|---|---|
committer | James Turnbull <james@ubuntu904.lovedthanlost.net> | 2009-05-26 13:43:39 +1000 |
commit | 7650fb299768c23241784671e3abeb272ee87fab (patch) | |
tree | cdaa513cbcdfe36b019ee3001c64b2b6a940c4f5 /lib | |
parent | 3995e7026dd40778cff1025a8e7e28eec833545f (diff) | |
download | puppet-7650fb299768c23241784671e3abeb272ee87fab.tar.gz puppet-7650fb299768c23241784671e3abeb272ee87fab.tar.xz puppet-7650fb299768c23241784671e3abeb272ee87fab.zip |
Not trying to load files that get removed in pluginsyncing
Previously any changed file got loaded; now we only try to
load files that are still present.
Signed-off-by: Luke Kanies <luke@madstop.com>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/puppet/configurer/plugin_handler.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/puppet/configurer/plugin_handler.rb b/lib/puppet/configurer/plugin_handler.rb index def6a1707..e934f5877 100644 --- a/lib/puppet/configurer/plugin_handler.rb +++ b/lib/puppet/configurer/plugin_handler.rb @@ -13,6 +13,7 @@ module Puppet::Configurer::PluginHandler end def load_plugin(file) + return unless FileTest.exist?(file) return if FileTest.directory?(file) begin |