This has been working perfectly fine for a while now. But only on SOME hosts that were recently added I'm getting permission denied errors on the keypairs that I'm trying to send over.
Error: /Stage[main]/Bacula::Config/File[/etc/pki/tls/certs/monitor1.mydomain.com.crt]: Could not evaluate: Could not retrieve information from environment production source(s) puppet:///modules/bacula/monitor1/monitor1.mydomain.com.crt
Error: /Stage[main]/Bacula::Config/File[/etc/pki/tls/private/monitor1.mydomain.com.key]: Could not evaluate: Could not retrieve information from environment production source(s) puppet:///modules/bacula/monitor1/monitor1.mydomain.com.key
And this is the weird part! All of the directories that I'm transferring keys and certs from have identical ownership and permissions for both the working and the non working hosts!
This is a directory listing of certs and keys that does NOT work:
environments/production/modules/bacula/files/monitor1:
total 8.0K
-rw-r--r--. 1 puppet puppet 2.0K Jun 16 21:53 monitor1.jokefire.com.crt
-rw-r--r--. 1 puppet puppet 3.2K Jun 16 21:53 monitor1.jokefire.com.key
And this is a listing from a directory containing certs and keys that DOES work:
environments/production/modules/bacula/files/logs:
total 8.0K
-rw-r--r--. 1 puppet puppet 1.9K Apr 23 22:14 logs.jokefire.com.crt
-rw-r--r--. 1 puppet puppet 3.2K Apr 23 22:14 logs.jokefire.com.key
And these are permissions on the directories themselves:
drwxr-xr-x. 2 puppet puppet 62 Jun 16 22:13 environments/production/modules/bacula/files/logs
drwxr-xr-x. 2 puppet puppet 70 Jun 16 22:14 environments/production/modules/bacula/files/monitor1
Trouble is I can tell no difference between the working and non working directories.
If I run puppet with the bacula module on the monitor1 host, I get the error. If I run puppet with the bacula module on the logs host, everything works fine!
I'm just wondering what I may be missing that could get rid of that error!
Thanks,
Tim