Patrick Rynhart
06/12/2023, 4:08 AMfile { '/opt/dspace/assetstore':
ensure => 'directory',
owner => 'tomcat',
group => 'tomcat',
}
And in the hiera for an NFS mount I have:
storage:
'/opt/dspace/assetstore':
ensure: 'mounted'
device: 'tur-nas1:/vol/unix_storage1_t1a/qds-research/assetstore'
fstype: 'nfs'
options: 'nfsvers=3'
atboot: true
require: File['/opt/dspace/assetstore']
I’m calling create_resources(‘mount’, $storage) but end up with:
Error: Could not retrieve catalog from remote server: Error 500 on SERVER: Server Error: Could not find resource 'File['/opt/dspace/assetstore']' in parameter 'require' on node tur-ds-dev4