puppet agent startup error

asked 2016-06-19 19:50:01 -0600

ichan gravatar image

My test puppet master is running, when I was trying to start up test puppet client container, everything showing on screen seems fine when starting, except this one at the end of the info showing on screen:

"Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Could not find data item classes in any Hiera data file and no default supplied at /etc/puppet/manifests/site.pp:22 on node ichan-dt Warning: Not using cache on failed catalog Error: Could not retrieve catalog; skipping run"

I have confirmed that: the client is able to resolve and reach the name of the master; in master's site.pp, there is "default node" setting; when I am trying to use "hiera" command to retrieve any value on master, I am always getting a "nil"

edit retag flag offensive close merge delete

Comments

Did you define 'classes' key in your hiera yaml file? what is your hiera lookup command? what is content of your hiera.yaml and yaml file you are using for lookup?

rajeevsharma gravatar imagerajeevsharma ( 2016-06-22 07:45:43 -0600 )edit