Hello team,
Can anyone help me to troubleshoot the below issue
PC
Pratyay Chaphekar
Work notes•2023-03-22 22
1527
Hi Team,
[root@puppetvts40002 ~]# puppet agent -vt
Info: Using configured environment 'mgmt_production'
Info: Retrieving pluginfacts
Info: Retrieving plugin
Info: Retrieving locales
Info: Loading facts
Error: Facter: error while processing "/opt/puppetlabs/puppet/cache/facts.d/fg_parser.py" for external facts: child process returned non-zero exit status (1).
Error: Could not retrieve catalog from remote server: Error 500 on SERVER: Server Error: Evaluation Error: Error while evaluating a Resource Statement, Evaluation Error: Error while evaluating a Function Call, has_key(): expects the first argument to be a hash, got "" which is of type String (file: /etc/puppetlabs/code/environments/mgmt_production/main/roles/s_puppetvts4/manifests/vcamp/layers/firewall_rules_base.pp, line: 23, column: 10) (file: /etc/puppetlabs/code/environments/mgmt_production/main/roles/s_puppetvts4/manifests/vcamp/network.pp, line: 227) on node
puppetvts40002.irv4.vtscloud.io
Warning: Not using cache on failed catalog
Error: Could not retrieve catalog; skipping run
[root@puppetvts40002 ~]# w