Error with routes.yaml - unable to run puppet on master node

asked 2014-07-15 13:42:30 -0500

sghimire gravatar image

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:

    certname =
    dns_alt_names = 192,,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 =
    user  = pe-puppet
    group = pe-puppet
    archive_files = true
    archive_file_server =

    certname =
    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

    report = true
    classfile = $vardir/classes.txt
    localconfig = $vardir/localconfig
    graph = true
    pluginsync = true
    environment = production
edit retag flag offensive close merge delete