Ask Your Question

puppet cert sign

asked 2014-12-04 05:23:32 -0600

Chutki gravatar image


I want to check whether my master refer agent.

I tried

puppet cert name

Warning: Setting manifestdir is deprecated. See
   (at /usr/lib/ruby/site_ruby/1.8/puppet/settings.rb:1139:in `issue_deprecation_warning')
Error: Invalid method name to apply

also I used

puppet cert sign 

Warning: Setting manifestdir is deprecated. See
   (at /usr/lib/ruby/site_ruby/1.8/puppet/settings.rb:1139:in `issue_deprecation_warning')
Error: Could not find certificate request for

how to check master refer the correct agent. also I tired facter command but it showing other agent details, not belog to

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2014-12-04 07:58:59 -0600

jeffreyw gravatar image

Hello, I am pretty new to Puppet myself too, but just a few days ago, I got my master and agent talking with each other too.

[To the more experienced people reading my post, please correct me if I am incorrect in any of my information! I will gladly take any criticism to further improving myself]

My guess is.. from this warning, it seems like it might be referencing a manifestdir setting in your /etc/puppet/puppet.conf

If that is the case, try to take away that line setting your manifestdir.

You also have to make sure that you can reach your master server from your agent server via hostname. You can add your master server to your DNS or, in my case, I just added an entry into my agent's /etc/hosts:

#/etc/hosts localhost
::1       localhost puppetServer

In my agent's /etc/puppet/puppet.conf, the only additional setting I added under [main] was


Next, you should test that you can reach your master server by pinging it for example

ping puppetServer

So I think that if you remove your manifestdir setting within your /etc/puppet/puppet.conf and ensure that you can get the agent talking with the master, your cert signing should work.

I hope this helps!

edit flag offensive delete link more


Thanks, removed manifestdir from puppet.conf. Not getting deprecated error.But still I am unable to connect "" agent to master.I tried to "puppet cert --generate" & "puppet cert --sign" on master got "Error: Could not find certificate request for"

Chutki gravatar imageChutki ( 2014-12-08 23:52:51 -0600 )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


Asked: 2014-12-04 05:23:32 -0600

Seen: 809 times

Last updated: Dec 04 '14