diff options
| author | luke <luke@980ebf18-57e1-0310-9a29-db15c13687c0> | 2005-10-26 04:44:25 +0000 |
|---|---|---|
| committer | luke <luke@980ebf18-57e1-0310-9a29-db15c13687c0> | 2005-10-26 04:44:25 +0000 |
| commit | 0ae5e3392597452acf6a2e9f0d4ac976b8ec9846 (patch) | |
| tree | e2307bce0ffacb9bf8ed54b0ebe84632b51fd9b8 /bin/puppetmasterd | |
| parent | 0d3db7984fd40769cbb29cde76e081cb06204710 (diff) | |
| download | puppet-0ae5e3392597452acf6a2e9f0d4ac976b8ec9846.tar.gz puppet-0ae5e3392597452acf6a2e9f0d4ac976b8ec9846.tar.xz puppet-0ae5e3392597452acf6a2e9f0d4ac976b8ec9846.zip | |
Adding logging methods to all Puppet::Element instances, and converting all instance log statements to use those methods. Additionally modified logging to take advantage of this by including the path of the logging object in the output. Logs will still need some cleanup to avoid duplicate information.
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@731 980ebf18-57e1-0310-9a29-db15c13687c0
Diffstat (limited to 'bin/puppetmasterd')
| -rwxr-xr-x | bin/puppetmasterd | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/bin/puppetmasterd b/bin/puppetmasterd index cd1800927..a72f2327d 100755 --- a/bin/puppetmasterd +++ b/bin/puppetmasterd @@ -11,6 +11,7 @@ # [-l|--logdest <syslog|console|<file>>] [--httplog <file>] # [-m|--manifest <site manifest>] [--noca] [-p|--port <port>] # [--parseonly] [-s|--ssldir <cert directory>] +# [-c|--confdir <configuration directory>] [--vardir <var dir>] # # = Description # @@ -69,6 +70,10 @@ # ssldir:: # The directory in which to store certificates. Defaults to /etc/puppet/ssl. # +# vardir:: +# The variable-size directory, used for storing state. Defaults to +# /var/puppet. +# # verbose:: # Enable verbosity. Causes the daemon not to go into the background. # @@ -106,6 +111,7 @@ result = GetoptLong.new( [ "--parseonly", GetoptLong::NO_ARGUMENT ], [ "--port", "-p", GetoptLong::REQUIRED_ARGUMENT ], [ "--ssldir", "-s", GetoptLong::REQUIRED_ARGUMENT ], + [ "--vardir", GetoptLong::REQUIRED_ARGUMENT ], [ "--verbose", "-v", GetoptLong::NO_ARGUMENT ], [ "--version", "-V", GetoptLong::NO_ARGUMENT ] ) @@ -171,6 +177,8 @@ begin else $stderr.puts "Invalid log destination %s" % arg end + when "--vardir" + Puppet[:puppetvar] = arg when "--version" puts "%s" % Puppet.version exit |
