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

add ability to source variable from external file #23

Open
ghost opened this issue Feb 18, 2013 · 1 comment
Open

add ability to source variable from external file #23

ghost opened this issue Feb 18, 2013 · 1 comment

Comments

@ghost
Copy link

ghost commented Feb 18, 2013

If i want to store the contents of a sensitive file, say an ssl cert or such in heira-gpg, at the moment i have to have a variable in heira which is just the entire file contents. This makes the yaml file a total mess of various walls of text.

It would be very handy if variables could be sourced from other gpg encrypted files, as this would allow things such as ssl::filecert include sslfile.gpg

I'm thinking something a little like: http://stackoverflow.com/questions/528281/how-can-i-include-an-yaml-file-inside-another

@jkoppe
Copy link

jkoppe commented Feb 18, 2013

generally i think this will be hard in hiera.

my first use case for hiera-gpg was for protecting SSL PEM passphrases. i store the SSL .pem in plaintext in puppet and store the PEM passphrase in the prod.gpg hiera file. i'd be interested to see if this sort of feature gets added.

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

No branches or pull requests

1 participant