summaryrefslogtreecommitdiffstats
path: root/lib/puppet
diff options
context:
space:
mode:
Diffstat (limited to 'lib/puppet')
-rw-r--r--lib/puppet/application/agent.rb2
-rw-r--r--lib/puppet/application/master.rb2
-rw-r--r--lib/puppet/configurer.rb2
-rw-r--r--lib/puppet/defaults.rb6
-rw-r--r--lib/puppet/rails.rb4
5 files changed, 8 insertions, 8 deletions
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
diff --git a/lib/puppet/configurer.rb b/lib/puppet/configurer.rb
index d45c4a79c..f54611773 100644
--- a/lib/puppet/configurer.rb
+++ b/lib/puppet/configurer.rb
@@ -70,7 +70,7 @@ class Puppet::Configurer
# Just so we can specify that we are "the" instance.
def initialize
- Puppet.settings.use(:main, :ssl, :puppetd)
+ Puppet.settings.use(:main, :ssl, :agent)
self.class.instance = self
@running = false
diff --git a/lib/puppet/defaults.rb b/lib/puppet/defaults.rb
index 992b218c5..9efa99cb2 100644
--- a/lib/puppet/defaults.rb
+++ b/lib/puppet/defaults.rb
@@ -368,7 +368,7 @@ module Puppet
}
)
- self.setdefaults(:puppetmasterd,
+ self.setdefaults(:master,
:user => ["puppet", "The user puppetmasterd should run as."],
:group => ["puppet", "The group puppetmasterd should run as."],
:manifestdir => ["$confdir/manifests",
@@ -458,7 +458,7 @@ module Puppet
in the catalogs."]
)
- self.setdefaults(:puppetd,
+ setdefaults(:agent,
:localconfig => { :default => "$statedir/localconfig",
:owner => "root",
:mode => 0660,
@@ -742,7 +742,7 @@ module Puppet
branch under your main directory."]
)
- setdefaults(:puppetmasterd,
+ setdefaults(:master,
:storeconfigs => {:default => false, :desc => "Whether to store each client's configuration. This
requires ActiveRecord from Ruby on Rails.",
:call_on_define => true, # Call our hook with the default value, so we always get the libdir set.
diff --git a/lib/puppet/rails.rb b/lib/puppet/rails.rb
index c3bf383bb..c0eedfcde 100644
--- a/lib/puppet/rails.rb
+++ b/lib/puppet/rails.rb
@@ -11,7 +11,7 @@ module Puppet::Rails
# the state dir on every test.
return if ActiveRecord::Base.connected?
- Puppet.settings.use(:main, :rails, :puppetmasterd)
+ Puppet.settings.use(:main, :rails, :master)
ActiveRecord::Base.logger = Logger.new(Puppet[:railslog])
begin
@@ -131,7 +131,7 @@ module Puppet::Rails
raise Puppet::DevError, "No activerecord, cannot init Puppet::Rails"
end
- Puppet.settings.use(:puppetmasterd, :rails)
+ Puppet.settings.use(:master, :rails)
begin
ActiveRecord::Base.establish_connection(database_arguments())