summaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2011-09-20 14:23:14 -0300
committerSilvio Rhatto <rhatto@riseup.net>2011-09-20 14:23:14 -0300
commit8645c26cba438b93737da57f9486a5ea50a46b7b (patch)
tree6a2747bb4313a273b9887fd74470bcc387892937 /manifests
parent9c83d350655d990d5f87a98fcfb73fbe2ac777fd (diff)
downloadpuppet-puppet-8645c26cba438b93737da57f9486a5ea50a46b7b.tar.gz
puppet-puppet-8645c26cba438b93737da57f9486a5ea50a46b7b.tar.bz2
Introducing $puppetd_server
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"],