Skip to content

Instantly share code, notes, and snippets.

@shawn-sterling
Created March 18, 2015 21:51
Show Gist options
  • Save shawn-sterling/fd2fefa360b752985f43 to your computer and use it in GitHub Desktop.
Save shawn-sterling/fd2fefa360b752985f43 to your computer and use it in GitHub Desktop.
# puppet master:
[root@qa-pmaster common]# puppetserver gem list |grep hiera
hiera-eyaml (2.0.7)
hiera-eyaml-gpg (0.5.rc1)
[root@qa-pmaster common]# gem list |grep hiera
hiera-eyaml (2.0.7)
hiera-eyaml-gpg (0.5.rc1)
[root@qa-pmaster common]# cat common.eyaml |grep "root::pas"
root::password: ENC[GPG,stuff]
eyaml edit on puppet master works fine (decrypts value).
# node:
# puppet agent -t --environment jenkinsfix
Info: Retrieving pluginfacts
Info: Retrieving plugin
Info: Loading facts
Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Error from DataBinding 'hiera' while looking up 'root::password': hiera-eyaml-gpg requires either the 'gpgme' or 'ruby_gpg' gem on node puppet-jenkins.xxx
Warning: Not using cache on failed catalog
Error: Could not retrieve catalog; skipping run
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment