|
|
define office::filer::mount (
) {
$a = split($name, '\|')
$office_mnt = shift($a)
$office_filer = shift($a)
$office_volume = shift($a)
$office_volgrp = shift($a)
netapp::mount { "${office_mnt}":
server => $office_filer,
mount_base => $office_mnt,
volume => $office_volume,
group => $office_volgrp ? { '' => "root", default => $office_volgrp },
writeable => true,
}
}
define netapp::mount (
$server = '',
$volume = '',
$owner = 'root',
$group = 'root',
$mount_base = '',
$mount_point = '',
$nfs_options = 'nosuid,nodev,noatime,intr,nfsvers=3,rsize=8192',
$writeable = 'false'
) {
....
}
|