summaryrefslogtreecommitdiffstats
path: root/puppethost.py
diff options
context:
space:
mode:
Diffstat (limited to 'puppethost.py')
-rwxr-xr-xpuppethost.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/puppethost.py b/puppethost.py
index 15f0478..b980e6a 100755
--- a/puppethost.py
+++ b/puppethost.py
@@ -12,7 +12,6 @@ import commands
import optparse
import tempfile
-ssldir = '/etc/puppet/ssl'
defaults = {
'destssldir': '',
'domain': '',
@@ -22,11 +21,10 @@ defaults = {
'force_package': False,
'release': '1',
'rpmdir': os.path.abspath(os.curdir),
- 'ssldir': ssldir,
+ 'ssldir': '/etc/puppet/ssl',
'template': '%(ssldir)s/template.spec',
'verbose': 1,
}
-del ssldir
try:
defaults['domain'] = socket.getfqdn().split('.', 1)[1]