summaryrefslogtreecommitdiff
path: root/manifests/init.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/init.pp')
-rw-r--r--manifests/init.pp16
1 files changed, 16 insertions, 0 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
new file mode 100644
index 0000000..ec29bc8
--- /dev/null
+++ b/manifests/init.pp
@@ -0,0 +1,16 @@
1# Adapted from http://projects.puppetlabs.com/projects/1/wiki/Logrotate_Patterns
2
3class logrotate {
4
5 package { "logrotate":
6 ensure => latest,
7 }
8
9 file { "/etc/logrotate.d":
10 ensure => directory,
11 owner => root,
12 group => root,
13 mode => 755,
14 require => Package["logrotate"],
15 }
16}