Could not retrieve catalog from remote server: Error 400 on SERVER: Failed to parse template ssh/retrieve_priv_key.erb: cannot find key directory: /etc/puppet/environments/production/modules/ssh/private_keys at /etc/puppet/environments/development/modules/ssh/manifests/init.pp:91
I dont know what is happening because it works before. My puppet.conf on master is this:
[main]
logdir = /var/log/puppet
vardir = /var/lib/puppet
ssldir = /var/lib/puppet/ssl
rundir = /var/run/puppet
factpath = $vardir/lib/facter
templatedir = $confdir/templates
environment = production
prerun_command = /etc/puppet/etckeeper-commit-pre
postrun_command = /etc/puppet/etckeeper-commit-post
[master]
manifest = $confdir/environments/$environment/manifests/site.pp
modulepath = $confdir/environments/$environment/modules
# These are needed when the puppetmaster is run by passenger
# and can safely be removed if webrick is used.
ssl_client_header = SSL_CLIENT_S_DN
ssl_client_verify_header = SSL_CLIENT_VERIFY
storeconfigs = true
dbadapter = mysql
dbname = puppetdb
dbuser = puppet
dbpassword = hola
dbserver = localhost
dbsocket = /var/run/mysqld/mysqld.sock
reports = log, foreman
[agent]
environment = production
report = true
pluginsync = true
show_diff = true