From 9132b47705b6607a63a3cabec410680a5695266b Mon Sep 17 00:00:00 2001 From: Ossi Salmi Date: Tue, 12 Feb 2013 13:10:10 +0200 Subject: [PATCH] Initial version of logwatch module --- logwatch/manifests/init.pp | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 logwatch/manifests/init.pp diff --git a/logwatch/manifests/init.pp b/logwatch/manifests/init.pp new file mode 100644 index 0000000..0dbca0b --- /dev/null +++ b/logwatch/manifests/init.pp @@ -0,0 +1,16 @@ +# Install logwatch. +# +class logwatch { + + case $::kernel { + "linux": { + package { "logwatch": + ensure => installed, + } + } + default: { + fail("logwatch not supported on ${::kernel}") + } + } + +}