You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Puppet Users
Hi Team, I am experiencing issue when executing below command on the puppet server, can you please assist me in debug the issue..1.) I execute this command on the puppet master server => puppet master --debug --compile sc-prd-scm-perforce001.eng.are.comError: Could not find data item scm_liagent.ini.erb in any Hiera data file and no default supplied at /etc/puppet/environments/production/modules/li_agent/manifests/config.pp:13 on node sc-prd-scm-perforce001.eng.are.com Error: Could not find data item scm_liagent.ini.erb in any Hiera data file and no default supplied at /etc/puppet/environments/production/modules/li_agent/manifests/config.pp:13 on node sc-prd-scm-perforce001.eng.are.com Error: Failed to compile catalog for node sc-prd-scm-perforce001.eng.are.com: Could not find data item scm_liagent.ini.erb in any Hiera data file and no default supplied at /etc/puppet/environments/production/modules/li_agent/manifests/config.pp:13 on node sc-prd-scm-perforce001.eng.are.com
2.) The file does exist under the hiera directory on the puppet server [root@sc-prd-scm-puppet002 hiera]# ls -ltr /etc/puppet/environments/production/hiera/scm_liagent.ini.erb -rw-r--r-- 1 puppet puppet 2018 Feb 3 18:50 /etc/puppet/environments/production/hiera/scm_liagent.ini.erb (edited)
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to puppet...@googlegroups.com
You can try using the lookup CLI tool with --explain turned on to get
detailed information about exactly what hiera is reading and what
decisions it is making when producing a value (or not finding anything).
You can also get that level of detail in your logs by running the server
with --debug turned on.
Armed with that information you should be able to see where hiera is
doing something you did not expect.
Best,
- henrik
On 2020-02-04 20:33, Sudhir R wrote:
>
>
> *Hi Team, I am experiencing issue when executing below command on the
> puppet server, can you please assist me in debug the issue..**1.) I
> execute this command on the puppet master server*=> puppet master
> --debug --compile sc-prd-scm-perforce001.eng.are.com > <http://sc-prd-scm-perforce001.eng.are.com/>Error: Could not find data
> item scm_liagent.ini.erb in any*Hiera data file and no default supplied
> at
> /etc/puppet/environments/production/modules/li_agent/manifests/config.pp:13
> on node **sc-prd-scm-perforce001.eng.are.com > <http://sc-prd-scm-perforce001.eng.are.com/>*
> Error: Could not find data item scm_liagent.ini.erb in any Hiera data
> file and no default supplied at
> /etc/puppet/environments/production/modules/li_agent/manifests/config.pp:13
> on node sc-prd-scm-perforce001.eng.are.com
> scm_liagent.ini.erb in any Hiera data file and no default supplied at
> /etc/puppet/environments/production/modules/li_agent/manifests/config.pp:13
> on node sc-prd-scm-perforce001.eng.are.com