production branch deployment not working [closed]
Ok, so now the puppet agent run works fine in agent nodes that are configured as sandbox and test in puppet.conf. It brings values from consul and does the expected deployment. But the same won't work in the node that is configured as production in puppet.conf. The error i see is as below:
puppet-agent: Could not retrieve catalog from remote server: Error 400 on SERVER: Evaluation Error: Error while evaluating a Function Call, Could not find data item service_name in any Hiera data file and no default supplied at /etc/puppetlabs/code/environments/production/modules/nodesetup/manifests/consul.pp:3:16 on node node1.domain.com
How do I get the production branch working? What should i look for in troubleshooting the gaps between the other two branches and this one? Appreciate all the help!