summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--manifests/daemon.pp6
1 files changed, 3 insertions, 3 deletions
diff --git a/manifests/daemon.pp b/manifests/daemon.pp
index 5e97e44..1102398 100644
--- a/manifests/daemon.pp
+++ b/manifests/daemon.pp
@@ -12,7 +12,7 @@ class puppet::daemon(
case $ensure {
'': {
- $ensure = $::lsbdistcodename ? {
+ $daemon_ensure = $::lsbdistcodename ? {
'squeeze' => '2.7.18-1~bpo60+1',
default => installed,
}
@@ -20,11 +20,11 @@ class puppet::daemon(
}
package { "puppet-common":
- ensure => $ensure,
+ ensure => $daemon_ensure,
}
package { "puppet":
- ensure => $ensure,
+ ensure => $daemon_ensure,
require => Package["cron", "puppet-common"],
}