summaryrefslogtreecommitdiff
path: root/manifests/debian.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/debian.pp')
-rw-r--r--manifests/debian.pp31
1 files changed, 11 insertions, 20 deletions
diff --git a/manifests/debian.pp b/manifests/debian.pp
index e24a1bc..2ad54ed 100644
--- a/manifests/debian.pp
+++ b/manifests/debian.pp
@@ -1,33 +1,24 @@
+# debian specific things
class puppet::debian inherits puppet::linux {
file { '/etc/default/puppet':
- source => [ "puppet:///modules/site_puppet/client/debian/${fqdn}/puppet",
- "puppet:///modules/site_puppet/client/debian/${domain}/puppet",
- "puppet:///modules/site_puppet/client/debian/puppet",
- "puppet:///modules/puppet/client/debian/puppet" ],
- notify => Service[puppet],
- owner => root, group => 0, mode => 0644;
- }
-
- if versioncmp($puppetversion,'2.6') >= 0 {
- $real_puppet_hasstatus = true
- }
- else {
- $real_puppet_hasstatus = false
- }
-
- Service[puppet]{
- hasstatus => $real_puppet_hasstatus,
+ source => ["puppet:///modules/site_puppet/client/debian/${::fqdn}/puppet",
+ "puppet:///modules/site_puppet/client/debian/${::domain}/puppet",
+ 'puppet:///modules/site_puppet/client/debian/puppet',
+ 'puppet:///modules/puppet/client/debian/puppet' ],
+ notify => Service[puppet],
+ owner => root,
+ group => 0,
+ mode => '0644';
}
- if !$puppet_ensure_version { $puppet_ensure_version = 'installed' }
package{ 'puppet-common':
- ensure => $puppet_ensure_version,
+ ensure => $puppet::ensure_version,
}
Package['puppet']{
require => Package['puppet-common']
- }
+ }
}