summaryrefslogtreecommitdiffstats
path: root/bin/puppetca
diff options
context:
space:
mode:
authorLuke Kanies <luke@madstop.com>2008-04-19 19:13:14 -0500
committerLuke Kanies <luke@madstop.com>2008-04-19 19:13:14 -0500
commit6c539c001e26b5a344d1f6e582f2f25cf16542bc (patch)
treef5e13b2b0659c24713a79a63fbe9dfb8b90f207b /bin/puppetca
parentebdbe4880d8c20965ac21a473b2bfc1ab953b6d4 (diff)
downloadpuppet-6c539c001e26b5a344d1f6e582f2f25cf16542bc.tar.gz
puppet-6c539c001e26b5a344d1f6e582f2f25cf16542bc.tar.xz
puppet-6c539c001e26b5a344d1f6e582f2f25cf16542bc.zip
Fixing puppetca so it uses the :local ca setting.
This causes it to use both the :ca_file and :file terminus types.
Diffstat (limited to 'bin/puppetca')
-rwxr-xr-xbin/puppetca2
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/puppetca b/bin/puppetca
index ef29942ae..fca623ebe 100755
--- a/bin/puppetca
+++ b/bin/puppetca
@@ -166,6 +166,8 @@ Puppet.genmanifest
Puppet::Util::Log.newdestination :console
+Puppet::SSL::Host.ca_location = :local
+
begin
ca = Puppet::SSL::CertificateAuthority.new
rescue => detail