Chris,
 
Try this on the server running the puppet agent to verify the puppet master the 
agent is configured to use
 
Command: sudo puppet config print server --section agent
 
If it is incorrect then follow these steps
 
1. Stop the puppet service
    Command Example: sudo puppet resource service puppet ensure=stopped
 
2. Remove (or rename) ssl cert directory
    Command Example: sudo mv /etc/puppetlabs/puppet/ssl 
/etc/puppetlabs/puppet/ssl.orig
 
3. Clean any certs on the puppet master
    Command Example: sudo puppet cert clean agentHostName
 
4. Change name of puppet master on agent
    Command Exmaple: sudo puppet config set server puppetMaster --section agent
 
5. Verify desired puppet master is now configured
    Command: sudo puppet config print server --section agent
 
 
6. Perform a puppet run
    puppet agent -t
 
7. If that works, start up the puppet service
    Example Command: sudo puppet resource service puppet ensure=started
 
8. If you renamed in step 2 then remove the original directory
 
 
HTH
Billy-
 
 
 
-----Original Message-----
From: "Chris" <ch...@postbox.xyz>
Sent: Saturday, July 25, 2015 2:25pm
To: "Puppet Users" <puppet-users@googlegroups.com>
Subject: [Puppet Users] Newbie: Agent doesn't find master



Dear All,

sorry, I'm a newbie.

My agent doesn't find the master. Where can I specify the master's 
name?

It's working, when the master is called puppet, but not if it has 
another name ...

TIA

- Chris

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/29ce43d247fe735be68a91310484b1e8%40postbox.xyz.
For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/1438029966.75016471%40apps.rackspace.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to