summaryrefslogtreecommitdiff
path: root/manifests/init.pp
blob: ec29bc85da17cb411f33fdfe2472e06e5706064f (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 => latest,
  }

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