*sigh* gems are always such a ton of fun. Things you could check:
* gem env -> see which ruby is used * head `which puppet` -> see which ruby is used * ruby -e 'puts $:' -> see whether the gems are in the path For the last step, be sure to use the ruby that Puppet is using. HTH, Felix On 10/14/2014 07:45 PM, Tito Valentin wrote: > 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 -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/5457C465.7070100%40alumni.tu-berlin.de. For more options, visit https://groups.google.com/d/optout.
