summaryrefslogtreecommitdiff
path: root/manifests/init.pp
blob: 662074c200815a5b8bfc3ec387b2e6b02c40f5e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# Adapted from http://projects.puppetlabs.com/projects/1/wiki/Logrotate_Patterns

class logrotate {

  package { "logrotate":
    ensure => present,
  }

  file { "/etc/logrotate.d":
    ensure => directory,
    owner => root,
    group => root,
    mode => 755,
    require => Package["logrotate"],
  }
}