summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--manifests/puppetd.pp7
1 files changed, 3 insertions, 4 deletions
diff --git a/manifests/puppetd.pp b/manifests/puppetd.pp
index eb4d420..8ee47a1 100644
--- a/manifests/puppetd.pp
+++ b/manifests/puppetd.pp
@@ -31,10 +31,9 @@ class puppetd inherits puppet {
}
# name of puppet agent section in config file
- $puppet_agent_section = $lsbdistcodename ? {
- 'lenny' => 'puppetd',
- 'lucid' => 'puppetd',
- default => 'agent',
+ $puppet_agent_section = $puppetversion ? {
+ '0.25.4' => 'puppetd',
+ default => 'agent',
}
# default config file for puppet nodes