Error with routes.yaml - unable to run puppet on master node
I am having trouble running puppet modules on the master server. The modules run fine when I execute 'puppet agent -t' from agent nodes, however when I execute that same command on the master node, I receive the following error:
Error: /Stage[main]/Pe_puppetdb::Master::Routes/File[/etc/puppetlabs/puppet/routes.yaml]: Could not evaluate: Could not retrieve information from environment production source(s) puppet:///modules/pe_puppetdb/routes.yaml
My modules are not located in the default folder, they are located in '/etc/puppetlabs/puppet/ServerConfiguration/modules'
My puppet.conf file has been updated accordingly:
[main] certname = 192.168.2.127 dns_alt_names = 192,192.168.2.127,puppet,puppet.168.2.127 vardir = /var/opt/lib/pe-puppet logdir = /var/log/pe-puppet rundir = /var/run/pe-puppet modulepath = /etc/puppetlabs/puppet/ServerConfiguration/modules:/opt/puppet/share/puppet/modules server = 192.168.2.127 user = pe-puppet group = pe-puppet archive_files = true archive_file_server = 192.168.2.127 [master] certname = 192.168.2.127 ca_name = 'Puppet CA generated on master.localdomain at 2014-07-03 06:43:49 -0400' reports = console,puppetdb node_terminus = console ssl_client_header = SSL_CLIENT_S_DN ssl_client_verify_header = SSL_CLIENT_VERIFY storeconfigs_backend = puppetdb storeconfigs = true [agent] report = true classfile = $vardir/classes.txt localconfig = $vardir/localconfig graph = true pluginsync = true environment = production