title: How do I configure the Puppet agent without an FQDN or domain for the Puppet master?
body: <p>I am foraying into the world of puppet and got my hands on <a href="https://rads.stackoverflow.com/amzn/click/com/1430260408" rel="nofollow noreferrer" rel="nofollow noreferrer">Pro Puppet</a>. I used Vagrant to fire up two instances of the <a href="https://atlas.hashicorp.com/puphpet/boxes/debian75-x64" rel="nofollow noreferrer">puphpet-debian75-x64</a>. I named one of them puppetagent and the other puppetmaster. Once setup i ran </p>
  
  <ul>
  <li><code>apt-get install puppet facter</code> on puppetagent</li>
  <li><code>apt-get install puppet puppetmaster facter</code> on puppetmaster.</li>
  </ul>
  
  <p>(In puppetmaster instance )The next step was to edit the <code>puppet.conf</code> file in <code>/etc/puppet/puppet.conf</code> and add <code>certname = &lt;FQDN of host&gt;</code> under [master]. I was a little confused here as I did not have a FQDN and instead just typed in puppetmaster after which I tried to restart my puppetmaster with <code>invoke-rc.d puppetmaster start</code> which gave this <code>[FAIL] Starting puppet master failed!</code> </p>
  
  <p>I am really confused at this step. Since I am just testing, how do I get a domain name? And do i have to create an another instance via vagrant to act as host? Any help with this step will be greatly appreciated</p>