Initial version of logwatch module
This commit is contained in:
parent
4f2b5c724d
commit
9132b47705
1 changed files with 16 additions and 0 deletions
16
logwatch/manifests/init.pp
Normal file
16
logwatch/manifests/init.pp
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
# Install logwatch.
|
||||||
|
#
|
||||||
|
class logwatch {
|
||||||
|
|
||||||
|
case $::kernel {
|
||||||
|
"linux": {
|
||||||
|
package { "logwatch":
|
||||||
|
ensure => installed,
|
||||||
|
}
|
||||||
|
}
|
||||||
|
default: {
|
||||||
|
fail("logwatch not supported on ${::kernel}")
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue