From 40e4d6fa02e801a26c2880840befa32718e55452 Mon Sep 17 00:00:00 2001 From: luke Date: Sat, 4 Aug 2007 00:36:47 +0000 Subject: Fixing #735 -- gen_config now uses a single heading, matching the name of the process git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2743 980ebf18-57e1-0310-9a29-db15c13687c0 --- lib/puppet/reference/configuration.rb | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'lib/puppet/reference/configuration.rb') diff --git a/lib/puppet/reference/configuration.rb b/lib/puppet/reference/configuration.rb index b83992290..65fdbeb7d 100644 --- a/lib/puppet/reference/configuration.rb +++ b/lib/puppet/reference/configuration.rb @@ -109,11 +109,14 @@ the executable in question with the `--genconfig` command. The executable will print a template configuration to standard output, which can be redirected to a file like so:: - $ puppetd --genconfig > /etc/puppet/puppetd.conf + $ puppetd --genconfig > /etc/puppet/puppet.conf -Note that this invocation will \"clobber\" (throw away) the contents of any -pre-existing `puppetd.conf` file, so make a backup of your present config -if it contains valuable information. +Note that this invocation will replace the contents of any pre-existing +`puppet.conf` file, so make a backup of your present config if it contains +valuable information. + +All parameters will be under a single section heading matching the name of +the process used to generate the configuraiton ('puppetd', in this case). Like the `--genconfig` argument, the executables also accept a `--genmanifest` argument, which will generate a manifest that can be used to manage all of -- cgit