summaryrefslogtreecommitdiff
path: root/manifests/debian.pp
blob: 2ad54edeb9ca6409f5c48dfbec3e3d7016ad59d3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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';
  }

  package{ 'puppet-common':
    ensure => $puppet::ensure_version,
  }

  Package['puppet']{
    require => Package['puppet-common']
  }
}