Could not find class ::ssh for puppet.ffnw.de
When resetting the code dir on the master, the ssh module needs to be installed manually by doing puppet module install ghoneycutt-ssh
. Otherwise the following error will occur on the nodes:
root@puppet:/etc/puppetlabs# puppet agent --test
Info: Using configured environment 'master'
Info: Retrieving pluginfacts
Info: Retrieving plugin
Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Evaluation Error: Error while evaluating a Function Call, Could not find class ::ssh for puppet.ffnw.de at /etc/puppetlabs/code/environments/master/manifests/site.pp:1:1 on node puppet.ffnw.de
Warning: Not using cache on failed catalog
Error: Could not retrieve catalog; skipping run
Is it possible to autoinstall the ssh module on the master if not present?