Puppet Function: cloudnfs::mount_volume
- Defined in:
- modules/cloudnfs/functions/mount_volume.pp
- Function type:
- Puppet Language
Summary
get where a specific NFS mount should be mounted on this hostOverview
SPDX-License-Identifier: Apache-2.0
3 4 5 6 7 8 9 |
# File 'modules/cloudnfs/functions/mount_volume.pp', line 3
function cloudnfs::mount_volume (
String[1] $mount,
) >> Variant[Boolean, String[1]] {
include cloudnfs::volume_data
$project_config = $cloudnfs::volume_data::projects[$::wmcs_project]
$project_config.dig('mounts', $mount).lest || { false }
}
|