Skip to content

Fix when using key_dir config#26

Open
amartinj wants to merge 1 commit intocrayfishx:masterfrom
amartinj:master
Open

Fix when using key_dir config#26
amartinj wants to merge 1 commit intocrayfishx:masterfrom
amartinj:master

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