summaryrefslogtreecommitdiffstats
path: root/puppethost.py
diff options
context:
space:
mode:
Diffstat (limited to 'puppethost.py')
-rwxr-xr-xpuppethost.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/puppethost.py b/puppethost.py
index f36d26f..bbdceba 100755
--- a/puppethost.py
+++ b/puppethost.py
@@ -31,6 +31,10 @@ if status == 0:
defaults['domain'] = domain
del status
+config = os.path.expanduser('~/.puppethost')
+if os.path.exists(config):
+ execfile(config, {}, defaults)
+
package_types = ['deb', 'rpm']
class PuppetHostError(StandardError):