title: Error when trying to configure Puppet to be highly available
body: <p>I want to configure puppet in a high availability environment. I have configured 2 Puppet masters but they are not able to sign each other by CA. When I try to test <code>puppet agent --test</code>, it gives me following error:</p>
  
  <pre><code>'Warning: Unable to fetch my node definition, but the agent run will continue:
  Warning: getaddrinfo: Name or service not known
  Info: Retrieving pluginfacts
  Error: /File[/home/clogeny/.puppet/var/facts.d]: Failed to generate additional resources using 'eval_generate': getaddrinfo: Name or service not known
  Error: /File[/home/clogeny/.puppet/var/facts.d]: Could not evaluate: Could not retrieve file metadata for puppet://puppet/pluginfacts: getaddrinfo: Name or service not known
  Wrapped exception:
  getaddrinfo: Name or service not known
  Info: Retrieving plugin
  Error: /File[/home/clogeny/.puppet/var/lib]: Failed to generate additional resources using 'eval_generate': getaddrinfo: Name or service not known
  Error: /File[/home/clogeny/.puppet/var/lib]: Could not evaluate: Could not retrieve file metadata for puppet://puppet/plugins: getaddrinfo: Name or service not known
  Wrapped exception:
  getaddrinfo: Name or service not known
  Error: Could not retrieve catalog from remote server: getaddrinfo: Name or service not known
  Warning: Not using cache on failed catalog
  Error: Could not retrieve catalog; skipping run
  Error: Could not send report: getaddrinfo: Name or service not known'
  </code></pre>
  
  <p>Could anyone help me out?</p>
  
  <p>Puppet.conf:</p>
  
  <pre><code>[main] 
  logdir=/var/log/puppet 
  vardir=/var/lib/puppet 
  ssldir=/var/lib/puppet/ssl 
  rundir=/var/run/puppet 
  factpath=$vardir/lib/facter 
  templatedir=$confdir/templates 
  hiera_config=/etc/puppet/hiera.yml 
  catalog_format = yaml 
  certname=puppet 
  pluginsync=false 
  dns_alt_names=puppetmaster01,puppet.sencha.com 
  
  [master] 
  ssl_client_header = SSL_CLIENT_S_DN 
  ssl_client_verify_header = SSL_CLIENT_VERIFY 
  manifest=$confdir/manifests/site.pp 
  modulepath=$confdir/environments/$environment/modules:/home/clogeny/Desktop/pupp‌​‌​et-kitchen-example/modules
  </code></pre>