Ask Your Question

puppet apply /etc/puppet/manifests/site.pp error

asked 2013-11-26 23:06:37 -0600

PM gravatar image

Hi All,

I deployed a second puppet server (3.2.4) in my infra. When I run puppet apply /etc/puppet/manifests/site.pp on it, I have the following error: Error: Could not run: Failed to find puppet_server_fqdn via exec: Execution of '/etc/puppet/manifests/finder.rb puppet_server_fqdn' returned 1:

Do you have any idea of the root cause of the issue. We didn't face it on the first server, so I think I missed a step somewhere but not sure where.

Thank you


edit retag flag offensive close merge delete


Does etc/hosts have both the fqdn and the short name present? Check if `hostname -f` resolves.

spuder gravatar imagespuder ( 2013-11-27 18:46:55 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2013-11-28 06:49:25 -0600

Stefan gravatar image

It looks like you have configured an external node classifier

Your master config /etc/puppet/puppet.conf probably reads

  node_terminus = exec
  external_nodes = /etc/puppet/manifests/finder.rb

And this script seems to raise an error. Does it work if you run the script manually with the desired fqdn as the first parameter?

edit flag offensive delete link more

Your Answer

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

Add Answer

Question Tools


Asked: 2013-11-26 23:06:37 -0600

Seen: 103 times

Last updated: Nov 28 '13