diff options
author | intrigeri <intrigeri@boum.org> | 2010-10-17 18:37:58 +0200 |
---|---|---|
committer | intrigeri <intrigeri@boum.org> | 2010-10-17 18:37:58 +0200 |
commit | 619ca3f02fdbed3b39217a770d66dca0d7a3bb43 (patch) | |
tree | de44089f41f2ecb4792884744fecebe7ea5e530b /manifests/init.pp | |
download | puppet-loginrecords-619ca3f02fdbed3b39217a770d66dca0d7a3bb43.tar.gz puppet-loginrecords-619ca3f02fdbed3b39217a770d66dca0d7a3bb43.tar.bz2 |
Initial commit, with untested faillog support.
Diffstat (limited to 'manifests/init.pp')
-rw-r--r-- | manifests/init.pp | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/manifests/init.pp b/manifests/init.pp new file mode 100644 index 0000000..c615d90 --- /dev/null +++ b/manifests/init.pp @@ -0,0 +1,15 @@ +class loginrecords { + + case $kernel { + "Linux": { + case $operatingsystem { + "debian", "ubuntu": { include loginrecords::debian } + default: { include loginrecords::base } + } + } + default: { + err("Kernel $kernel is not supported.") + } + } + +} |