3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
# File 'manifests/params.pp', line 3
class autofs::params {
# File ownership settings.
$group = 'root'
$owner = 'root'
# The name of the service.
$service = 'autofs'
# These settings are OS specific.
case $::operatingsystem {
'Gentoo' : {
$package = ['net-fs/autofs']
$master = '/etc/autofs/auto.master'
$master_dir = true
$confd = '/etc/conf.d/autofs'
}
'Debian' : {
$package = ['autofs', 'autofs-ldap']
$master = '/etc/auto.master'
$master_dir = false
$confd = undef
}
'Solaris' : {
$package = [] # solaris has it built-in, no package required
$master = '/etc/auto_master'
$master_dir = false
$confd = undef
}
'RedHat' : {
$package = ['autofs']
$master = '/etc/auto.master'
$master_dir = false
$confd = undef
}
default : {
fail("${::operatingsystem} not supported!")
}
}
}
|