diff options
| author | Luke Kanies <luke@madstop.com> | 2008-08-20 18:38:37 +0200 |
|---|---|---|
| committer | Luke Kanies <luke@madstop.com> | 2008-08-20 18:38:37 +0200 |
| commit | e20f02af4a93478c5b08b7681caa12cd72b4a3a6 (patch) | |
| tree | 64454b68fd8eff772bf01b84e8d524e118c31e83 /lib/puppet/network | |
| parent | d91d80658e6f38ca9e607e53e20bbb41e0789bbd (diff) | |
| parent | 1729de17a939aa56ba22fbe6851fa60946ac04ed (diff) | |
Merge branch '0.24.x' of git://github.com/jamtur01/puppet into 0.24.x
Diffstat (limited to 'lib/puppet/network')
| -rw-r--r-- | lib/puppet/network/client/master.rb | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/puppet/network/client/master.rb b/lib/puppet/network/client/master.rb index 2da6cf890..6f8e2770f 100644 --- a/lib/puppet/network/client/master.rb +++ b/lib/puppet/network/client/master.rb @@ -338,7 +338,7 @@ class Puppet::Network::Client::Master < Puppet::Network::Client if Puppet[:debug] puts detail.backtrace end - Puppet.err "Could not retrieve #{args[:name]}s: %s" % detail + Puppet.err "Could not retrieve %ss: %s" % [args[:name], detail] end # Now clean up after ourselves @@ -389,12 +389,13 @@ class Puppet::Network::Client::Master < Puppet::Network::Client Dir.entries(dir).find_all { |e| e =~ /\.rb$/ }.each do |file| fqfile = ::File.join(dir, file) begin - Puppet.info "Loading #{type} %s" % ::File.basename(file.sub(".rb",'')) + Puppet.info "Loading %s %s" % + [type, ::File.basename(file.sub(".rb",''))] Timeout::timeout(self.timeout) do load fqfile end rescue => detail - Puppet.warning "Could not load #{type} %s: %s" % [fqfile, detail] + Puppet.warning "Could not load %s %s: %s" % [type, fqfile, detail] end end end |
