summaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
Diffstat (limited to 'manifests')
-rw-r--r--manifests/puppetmaster/package/debian.pp12
1 files changed, 10 insertions, 2 deletions
diff --git a/manifests/puppetmaster/package/debian.pp b/manifests/puppetmaster/package/debian.pp
index 01b7f79..eca55e9 100644
--- a/manifests/puppetmaster/package/debian.pp
+++ b/manifests/puppetmaster/package/debian.pp
@@ -15,6 +15,14 @@ class puppet::puppetmaster::package::debian inherits puppet::puppetmaster::packa
}
}
}
+ else {
+ apt::preferences_snippet {
+ 'puppet_passenger':
+ package => 'puppet*',
+ pin => "version $puppetmaster_ensure_version",
+ priority => 2000;
+ }
+ }
Package["puppetmaster"]{
require => $puppetmaster_common_required ? {
@@ -23,11 +31,11 @@ class puppet::puppetmaster::package::debian inherits puppet::puppetmaster::packa
},
ensure => $puppetmaster_ensure_version,
}
-
+
package { "puppetmaster-common":
ensure => $puppetmaster_common_required ? {
'' => absent,
- default => $puppetmaster_common_ensure
+ default => installed
},
}
}