-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Applying gnupg_key fails if an Agent-side directory environment is missing #15
Comments
Hey tnx for that. Officially this module does not support puppet 4.2.X, but I will definitely have a look and try to find a solution for that. |
I, too, am running into this issue (again, with Puppet 4). I'm guessing it has something to do with one of the lookups in the provider, but I'm sadly ignorant when it comes to the Puppet Ruby API. If I do manage to nail it down, I'll try to contribute a PR. |
Same here. Ubuntu 16.04 and Puppet 4.X. Is the code still maintained in github ? |
This problem still exists with Puppet 5.x and Ubuntu 18.04. With r10k and feature branches/environments this is pretty bad, because during development you won't be running the Puppet Agent in the production environment (the only environment which tends to exist even on Agent nodes). |
This commit should resolve the problem discussed in Issue dgolja#15
Applying gnupg_key resources fail if the node running the agent is missing a directory environment matching the environment given in /etc/puppetlabs/puppet/puppet.conf (or on the command-line):
This problem can be circumvented by creating the said directory environment on the node that runs the Puppe Agent:
This problem is reproducible on Puppet 4.2.3. I have not tested any of the earlier versions. On the puppetserver side the environment is correctly configured, and nothing suspicious shows up in /var/log/puppetlabs/puppetserver/puppetserver.log. So this failure occurs strictly on the agent side.
The text was updated successfully, but these errors were encountered: