aboutsummaryrefslogtreecommitdiff
path: root/manifests/init.pp
blob: 69b6d1bdbd5b55a3b8f49398a7ba2e2882eaee5e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
import "*.pp"

class loginrecords {

    # Default settings
    if $enable_faillog == '' {
        $enable_faillog = false
    }

    case $kernel {
        "Linux": {
            case  $operatingsystem {
                "debian", "ubuntu": { include loginrecords::debian }
                default:            { include loginrecords::base   }
            }
        }
        default: {
            err("Kernel $kernel is not supported.")
        }
    }

}