summaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
Diffstat (limited to 'manifests')
-rw-r--r--manifests/puppetd.pp4
1 files changed, 4 insertions, 0 deletions
diff --git a/manifests/puppetd.pp b/manifests/puppetd.pp
index 267f2dc..297bd89 100644
--- a/manifests/puppetd.pp
+++ b/manifests/puppetd.pp
@@ -13,6 +13,10 @@ class puppetd inherits puppet {
'': { $puppetd_configtimeout = "120" }
}
+ case $puppetd_server {
+ '': { $puppetd_server = "puppet.$domain" }
+ }
+
package { "puppet":
ensure => installed,
require => Package["cron"],