add a puppet mount point, this one pointing to an NFS server

33 views
Skip to first unread message

Arnaud Bougeard

unread,
Dec 5, 2024, 11:55:34 AM12/5/24
to Puppet Users
Hello,
My puppet server is on a virtual machine.
I have scripts and large executables that take up volume that are on an NFS server.
So I would like to add a puppet mount, this one pointing to an NFS server.

When I do it, on my agent it seems not to find the file, I have the error "Could not retrieve information from environment production"
My NFS mount point: /etc/puppetlabs/puppet/extra_files_windows/files

 the path of the file on the server is:
/etc/puppetlabs/puppet/extra_files_windows/files/deploy929.ps1

The puppet mount pount point configuration:
cat  /etc/puppetlabs/puppet/fileserver.conf
[extra_files_windows]
  path /etc/puppetlabs/puppet/extra_files_windows

file { 'C:/temp/deploy929.ps1':
ensure => 'file',
source => 'puppet:///extra_files_windows/deploy929.ps1',
}

How could I do ?
Thanks in advance,

R


Martin Alfke

unread,
Dec 6, 2024, 9:04:33 AM12/6/24
to puppet...@googlegroups.com
Did you do a restart of the puppet server after adding the fileserver config?

--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/puppet-users/f0283242-5ac8-4b65-ad65-1bc4ec2eb5a8n%40googlegroups.com.

Arnaud Bougeard

unread,
Dec 6, 2024, 9:09:15 AM12/6/24
to Puppet Users
Yes, and I restarted the puppet master VM.

Arnaud Bougeard

unread,
Dec 6, 2024, 1:01:20 PM12/6/24
to Puppet Users

I add an new entry in the auth.conf too

Martin Alfke

unread,
Dec 8, 2024, 6:31:33 AM12/8/24
to Puppet Users
Can you please provide details about the error mesage (puppetserver.log)
And please ensure that the puppet user can access the nfs share.
> To view this discussion visit https://groups.google.com/d/msgid/puppet-users/a1bb13cf-b36c-4112-a7a1-3da1689306fbn%40googlegroups.com.

Reply all
Reply to author
Forward
0 new messages