duritong / puppet-trocla

puppet integration for trocla
11 stars 18 forks source link

no such file to load -- trocla #27

Closed swer21 closed 5 years ago

swer21 commented 5 years ago

Hello

I have problems using this module. I installed it to the puppet master with the trocla::yaml class. But when I try to use the trocla function I get a error:

Could not retrieve catalog from remote server: Error 500 on SERVER: Internal Server Error: org.jruby.exceptions.RaiseException: (LoadError) no such file to load -- trocla

This is the code I use on the client

`$passkey = "${::hostname}_root"

user { $passkey: name => 'root', ensure => present, password => trocla($passkey,'sha512crypt'), }`

Normally client and puppet master are in different environment but the module is installed in booth environment. And for testing purposes I also tested with a client in the same environment as the puppet master. The result was the same.

swer21 commented 5 years ago

The issue has solved itself. Not sure what had happened but suddenly it worked.