(File shown is subset of the full thing)
Why?
Chris
puppet.conf
[master]
vardir = /opt/puppetlabs/server/data/puppetserver
logdir = /var/log/puppetlabs/puppetserver
rundir = /var/run/puppetlabs/puppetserver
pidfile = /var/run/puppetlabs/puppetserver/puppetserver.pid
codedir = /etc/puppetlabs/code
ca = false
dns_alt_names = pm101.qa.x.x.x
reports = store, foreman
reportdir = $vardir/reports
[main]
server = pm101.qa.x.x.x
ca_server = pmca.ops.x.x.x
environment = qa2
hiera.yaml
---
:backends:
- json
:hierarchy:
- "%{hostname}.%{nt_environment}.%{nt_location}"
- "%{nt_type}.%{nt_environment}.%{nt_location}"
- "%{nt_type}.%{nt_environment}"
- "%{nt_environment}.%{nt_location}"
- "%{nt_environment}"
- "%{nt_location}"
- world
- default
:logger: console # debug
:json:
:datadir: '/etc/puppetlabs/code/environments/%{::environment}/hieradata' # this is the default anyway
/etc/puppetlabs/code/environments/qa2/hieradata
-rw-rw-r-- 1 jenkins jenkins 2398 Jan 14 00:38 world.json
"env" : {
"puppetusers" : [
"jjenkins",
"rob",
"phil",
"mark",
"snowpaws",
"djenkins",
"ikrayn",
"chris",
"tay",
"dave",
"cpl"
],
}
Info: Using configured environment 'qa2' Info: Retrieving pluginfacts Info: Retrieving plugin Info: Loading facts Error: Could not retrieve catalog from remote server: Error 500 on SERVER: Server Error: Evaluation Error: Error while evaluating a Function Call, Failed to parse template common/etc/profile.d/tmx_profile.sh.erb: Filepath: /etc/puppetlabs/code/environments/qa2/modules/common/templates/etc/profile.d/tmx_profile.sh.erb Line: 25 Detail: undefined method `[]' for nil:NilClass at /etc/puppetlabs/code/environments/qa2/manifests/modules/common/manifests/classes/configuration.pp:19:14 on node pm101.qa.sac.int.threatmetrix.com