From bfded9d04db35c8877363ccdc5378d1562c44379 Mon Sep 17 00:00:00 2001 From: Todd Zullinger Date: Thu, 27 Nov 2008 11:22:19 -0500 Subject: Add a README file --- README | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 README diff --git a/README b/README new file mode 100644 index 0000000..26056d0 --- /dev/null +++ b/README @@ -0,0 +1,39 @@ + +Puppet Host Package +=================== + +So, you're using puppet to manage your systems? Excellent. Now, you need a +way to bootstrap them and setup the SSL certificates for each host. That's +where this little script comes in. It will generate a package containing the +SSL certificate and other needed files for a given host or hosts. + +The usage is fairly simple: + +puppet-host-package [options] hostname [hostname ...] + +If no certificate exists for the host, puppetca is used to generate one. You +generally want to run this script on your puppetmaster so that the certs that +are generated will be usable on the puppetmaster without any further +configuation. + +By default, packages are created in the current directory. This is +configurable. You might want to put them in a dedicated puppet-hosts +repository, for example. + +In addition to setting options on the command line, options are read from +~/.puppethost if it exists. For example: + +# Path to the ssl certs +ssldir = '/etc/puppet/ssl' + +# Overwrite existing certs, tarballs, and packages +force = 'False' + +# Where to write rpm packages +rpmdir = '/srv/repos/yum/puppet-hosts' + +# Template for rpm spec files +template = '/etc/puppet/ssl/template.spec' + +# Don't be too quiet +verbose = 1 -- cgit