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}") + } + } + +}