blob: 3b87b811dee819bf6c6188ceaa48cc631eb1c888 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
define profiles::mounts::instance (
String $what,
String $where = $name,
Array[String] $options = [],
) {
file { $where:
ensure => directory,
}
systemd_mount { $where:
what => $what,
where => $where,
wantedBy => 'remote-fs.target',
automount => true,
require => File[$where],
options => $options,
}
}
|