if the nfs share is mounted on all clients you could just reference it as a local file on the server:
file { '/bli/bla/blup':
...
source => '/nfs/share/bli/bla/blup',
...
}
this '/nfs/share/bli/bla/blup' is not evaluated on the puppetmaster but only on the client.
if the share is mounted on the master only you might configure another fileserver.conf entry:
https://docs.puppet.com/puppet/latest/config_file_fileserver.htmlyou then reference IMHO like this:
file { '/bli/bla/blup':
...
source => 'puppet:///mount_point_name/bli/bla/blup',
...
}
I personally would not introduce a dependency on the nfs share on the puppet master. If the nfs server is not available I'd expect the whole puppet master to lock up. I'd at least would think about rsync'ing them locally or even creating something like a puppet module only containing the data.