5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
# File 'manifests/include.pp', line 5
define autofs::include ($mount_base, $options) {
include autofs
include autofs::params
# Ensure that we have at least a blank sub map file.
autofs::mapfile { "autofs::include ${title}": path => "/etc/autofs/${title}", }
# Add an include line to the master map file for this sub map file.
concat::fragment { "autofs::include ${title}":
target => $autofs::params::master,
content => "${mount_base} /etc/autofs/${title} ${options}\n",
order => '200',
}
}
|