I have not had any luck with the install of ssh keys. During puppet agent run, I get the following:
Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Puppet::Parser::AST::Resource failed with error ArgumentError: Invalid resource type sshkeys::create_key at /etc/puppet/environments/production/modules/xldeploy/manifests/server/install_sshkey.pp:24 on node dep-01.wdtablesystems.com
Warning: Not using cache on failed catalog
Error: Could not retrieve catalog; skipping run
I have got around it commenting out the following in the install_sshkey.pp
I have not had any luck with the install of ssh keys. During puppet agent run, I get the following: Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Puppet::Parser::AST::Resource failed with error ArgumentError: Invalid resource type sshkeys::create_key at /etc/puppet/environments/production/modules/xldeploy/manifests/server/install_sshkey.pp:24 on node dep-01.wdtablesystems.com Warning: Not using cache on failed catalog Error: Could not retrieve catalog; skipping run
I have got around it commenting out the following in the install_sshkey.pp
flow
Xldeploy::Resources::Defaultsetting['overthere.SshHost.privateKeyFile']
-> Sshkeys::Create_key[$os_user]
call a nice little parser function to generate a random passphrase
$keyfile_passphrase = random_passphrase()
sshkeys::create_key { $os_user:
home => $server_home_dir,
manage_home => false,
passphrase => $keyfile_passphrase,
notify => Xldeploy::Resources::Defaultsetting['overthere.SshHost.passphrase']
}