summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTodd Zullinger <tmz@pobox.com>2008-11-27 11:22:19 -0500
committerTodd Zullinger <tmz@pobox.com>2008-11-27 21:40:03 -0500
commitbfded9d04db35c8877363ccdc5378d1562c44379 (patch)
treef91468eb461d3af720ae11af4239172797e99d6b
parente9b2085371b5524e7a3e42a93d03cc7aee335029 (diff)
downloadpuppet-host-package-bfded9d04db35c8877363ccdc5378d1562c44379.tar.gz
puppet-host-package-bfded9d04db35c8877363ccdc5378d1562c44379.tar.xz
puppet-host-package-bfded9d04db35c8877363ccdc5378d1562c44379.zip
Add a README file
-rw-r--r--README39
1 files changed, 39 insertions, 0 deletions
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