Ask Your Question
0

Why is Puppet ignoring the node declaration?

asked 2014-01-29 10:05:31 -0500

robrwo gravatar image

I've just added a new node. The DNS for the node is fine, from itself and the puppetmaster.

But the node defintion is being ignored. I've tried just the short hostname, the FQDN, and a regex that will uniquely match the host. Adding "notify" resources to output the hostname and FQDN show that it does have the expected name.

Yet when puppet agent -t is run on the node, it does not see it's node definition. (And yes, I've checked this using the --debug flag as well as adding "notify" to the node definition.)

I've ... (more)

edit retag flag offensive close merge delete

Comments

Could you please post the output of "puppet agent -t" ? Are you sure this is not an issue of not launching the agent while not being root ?

doc75 gravatar imagedoc75 ( 2014-01-29 11:16:43 -0500 )edit

It's being run as root. No, I cannot post the output of puppet agent, sorry. Too much internal info in it.

robrwo gravatar imagerobrwo ( 2014-01-30 04:04:41 -0500 )edit

Can't you post relevant error message with anonymization of sensitive information ?

doc75 gravatar imagedoc75 ( 2014-01-30 08:05:16 -0500 )edit

There were no errors. It looked the same as if there was no node definition. This issue seems to have stopped on the specific node.

robrwo gravatar imagerobrwo ( 2014-01-31 04:06:55 -0500 )edit

As you seem to have a default and node definition in one file, it is probably not your solution. But keep in mind that a "touch manifests/site.pp" can ...(more)

Waldemar gravatar imageWaldemar ( 2014-02-03 07:45:17 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2014-01-31 12:21:56 -0500

Stefan gravatar image

Can you please verify that puppet agent --configprint certname matches your node definition? This is what puppet will check against by default and by default the certname should be equal to the fqdn of your node, but just make sure that it is.

edit flag offensive delete link more

Comments

The issue has gone away. I'm unsure what caused it.

robrwo gravatar imagerobrwo ( 2014-02-03 03:11:45 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2014-01-29 10:05:31 -0500

Seen: 211 times

Last updated: Jan 31 '14