Hello dear puppeteers,
I am getting an error message from a puppetserver which I'm trying to understand;
Error while evaluating a Virtual Query, Resource type nfs_mount doesn't exist
Here's the code snipet triggering that error ( the **LAST** line ) :
class profiles::nfs ()
{
$mountlist = hiera_hash('profiles::nfs::mountlist')
validate_legacy(Hash, 'validate_hash', $mountlist)
create_resources('@::profiles::nfs_mount', $mountlist)
Class['::profiles::system::nfs'] -> Nfs_mount <| |>
}
The resource **nfs_mount** is well defined in another manifest :
define profiles::nfs_mount( $device, $mount_path, $mount_rights, $key = $name ) {
...
}
So why can't the puppetserver find it ?
Thanks beforehand for any help
↧