diff options
Diffstat (limited to 'lib/puppet/application/master.rb')
-rw-r--r-- | lib/puppet/application/master.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/puppet/application/master.rb b/lib/puppet/application/master.rb index a8ed27c42..7ea3f3a83 100644 --- a/lib/puppet/application/master.rb +++ b/lib/puppet/application/master.rb @@ -54,7 +54,7 @@ class Puppet::Application::Master < Puppet::Application raise ArgumentError, "Cannot render compiled catalogs without pson support" unless Puppet.features.pson? begin unless catalog = Puppet::Resource::Catalog.find(options[:node]) - raise "Could not compile catalog for %s" % options[:node] + raise "Could not compile catalog for #{options[:node]}" end jj catalog.to_resource @@ -100,7 +100,7 @@ class Puppet::Application::Master < Puppet::Application Puppet::Util.chuser rescue => detail puts detail.backtrace if Puppet[:trace] - $stderr.puts "Could not change user to %s: %s" % [Puppet[:user], detail] + $stderr.puts "Could not change user to #{Puppet[:user]}: #{detail}" exit(39) end end @@ -114,7 +114,7 @@ class Puppet::Application::Master < Puppet::Application @app = Puppet::Network::HTTP::Rack.new(:xmlrpc_handlers => xmlrpc_handlers, :protocols => [:rest, :xmlrpc]) end - Puppet.notice "Starting Puppet master version %s" % [Puppet.version] + Puppet.notice "Starting Puppet master version #{Puppet.version}" unless options[:rack] @daemon.start |