I am working on setting up puppet-decrypt. I downloaded the following two files from rubygems.org:
encryptor
puppet-decrypt
I have installed them both as follows since our servers are not allowed to communicate outside of our network:
gem install /tmp/encryptor-1.3.0.gem
gem install /tmp/puppet-decrypt-0.2.0.gem
After installing, the documentation states that I need to add the $RUBYLIB directory to my profile. So, I have gone through root's .bash_profile and added the following entry:
export RUBYLIB=/opt/puppet/lib:$RUBYLIB
After sourcing my profile, I try to verify that the gem is installed by running the following:
puppet help crypt
However, I get the following error:
[user1@testbed ~]# puppet help crypt
Error: Could not load help for the face crypt.
Please check the error logs for more information.
Detail: "Could not find Puppet Face crypt"
Error: Try 'puppet help help help' for usage
That error looks like it can't find the installation of encryptor or puppet-decrypt. However, if I check for the gems, I do see them in the system:
[user1@testbed gems]# gem list --local | egrep "encryptor|decrypt"
encryptor (1.3.0)
puppet-decrypt (0.2.0)
What could I be missing to get this gem going in order to start encrypting data?
Resource links:
puppet-decrypt = https://rubygems.org/gems/puppet-decrypt
encryptor = https://rubygems.org/gems/encryptor