Skip to content
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

Fix when using key_dir config #26

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

amartinj
Copy link

When key_dir setting is used in gpg hiera section, an exception is thrown because what is supposed to be a string is an array instead. Type check added

@crayfishx
Copy link
Owner

hi, Could you elaborate on this? Why would key_dir be an array?

@amartinj
Copy link
Author

amartinj commented Feb 3, 2014

I mean, gnupghome is an array, so you have to get the first item of it. I added the condition in order to keep it working in case a string is received.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants