I'm trying to get an agent to pull files from a separate master acting as a file server. No filtering on permissions based on IP or fqdn, standard:
path /file
allow *
in auth.conf
mount point in fileserver.conf with allow *
ie.
[myfiles]
path: /opt/myfiles
allow *
File resource is:
file {'name':
source => 'puppet://puppet.master.one/myfiles/file'
}
Have 2 identical puppet masters. Both running 3.3.2. Also tried with a separate 3.4.3 master.
If I use puppet agent --server puppet.master.one then all works fine. If I use puppet agent --server puppet.master.two, file_metadata works fine, sees changes made to the file on puppet.master.one but file_content always fails with permission denied.
Have tried every possible combination of permissions in auth.conf of
path /file_content/
allow *
path /file_metadata/
allow *
All before the default "path /file" line. Pull them out, put them in, rearrange, mix in a blender......nothing works.
Am I missing something? Has anyone gotten puppet to pull files from separate master?