From fc2904955ca6e77bda8719671df200e0811c38cd Mon Sep 17 00:00:00 2001 From: Jesse Wolfe Date: Wed, 12 May 2010 18:16:29 -0700 Subject: feature #2276 Single Executable: use new names for settings sections The puppet-internal settings sections aren't actually exposed to the user, but to reduce confusion I've renamed them to be consistent with the single-executable application names. Signed-off-by: Jesse Wolfe --- lib/puppet/application/agent.rb | 2 +- lib/puppet/application/master.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/puppet/application') diff --git a/lib/puppet/application/agent.rb b/lib/puppet/application/agent.rb index e8ed04079..609a4580a 100644 --- a/lib/puppet/application/agent.rb +++ b/lib/puppet/application/agent.rb @@ -233,7 +233,7 @@ class Puppet::Application::Agent < Puppet::Application Puppet::Util::Log.newdestination(logdest) end - Puppet.settings.use :main, :puppetd, :ssl + Puppet.settings.use :main, :agent, :ssl # We need to specify a ca location for all of the SSL-related i # indirected classes to work; in fingerprint mode we just need diff --git a/lib/puppet/application/master.rb b/lib/puppet/application/master.rb index 17ff5de53..433a4d2f2 100644 --- a/lib/puppet/application/master.rb +++ b/lib/puppet/application/master.rb @@ -146,7 +146,7 @@ class Puppet::Application::Master < Puppet::Application exit(Puppet.settings.print_configs ? 0 : 1) end - Puppet.settings.use :main, :puppetmasterd, :ssl + Puppet.settings.use :main, :master, :ssl # A temporary solution, to at least make the master work for now. Puppet::Node::Facts.terminus_class = :yaml -- cgit