summaryrefslogtreecommitdiff
path: root/manifests/linux.pp
blob: 6fc17bac6b01d8ee359b1eb0b0c1225b428bc881 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
class puppet::linux inherits puppet::base {

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

  package { 'facter':
    ensure => $puppet::ensure_facter_version,
  }

  Service['puppet']{
    require => Package[puppet],
  }

  file { '/etc/cron.d/puppetd.cron':
    source => [ "puppet:///modules/site_puppet/cron.d/puppetd",
                "puppet:///modules/puppet/cron.d/puppetd.${::operatingsystem}",
                "puppet:///modules/puppet/cron.d/puppetd" ],
    owner => root, group => 0, mode => 0644,
  }
}