voxpupuli / hiera-eyaml-gpg

GPG encryption backend for the hiera-eyaml module
MIT License
49 stars 33 forks source link

Simplify default gnupghome value. #28

Closed danny-cheung closed 9 years ago

danny-cheung commented 9 years ago

Was failing if $HOME and $HOMEPATH was not set. This was particularly true when running puppet master as a Ubuntu service.

danny-cheung commented 9 years ago

@sihil Please merge this PR. I cannot implement hiera-eyaml-gpg without it.

sihil commented 9 years ago

What was the failure mode? Have you seen #16?

Given that $HOMEPATH is there - I'd rather not remove it in case other users are relying on it..

danny-cheung commented 9 years ago

Yes, I have seen #16 . I am running into the same problem. I will update the commit.

danny-cheung commented 9 years ago

@sihil Updated to original code, but will now use $PWD if $HOME and $HOMEPATH are not defined.

danny-cheung commented 9 years ago

@sihil Please take a look at this PR.

This one little bug is preventing me for rolling out hiera-eyaml-gpg.

Fixes #11

sihil commented 9 years ago

Apologies for not dealing with this sooner - I've been on vacation. Can you have a look at #30 and see if that would solve your problem?

sihil commented 9 years ago

Closed. #30 released as 0.6.rc1