newbie having troubles getting started: where is puppetmasterd?

39 views
Skip to first unread message

Jeff Silverman

unread,
Dec 12, 2014, 7:25:44 PM12/12/14
to puppet...@googlegroups.com
I am trying to build a puppet system for the first time, and I am having a problem creating my puppet.conf file.  I am working on Ubuntu 12.04 LTS for my puppet master, and Centos 7 for my agents.

Insofar as I can tell, there is no certificate on the puppet master.  The reason why I think so is because I am getting 

Exiting; no certificate found and waitforcert is disabled

errors on the agents, and in the log file on the puppetmaster, I see many entries of the form:

[2014-12-12 15:08:22] 192.168.1.49 - - [12/Dec/2014:15:08:22 PST] "GET /production/certificate/jeffs-desktop.commercialventvac.com? HTTP/1.1" 404 73
[2014-12-12 15:08:22] - -> /production/certificate/jeffs-desktop.commercialventvac.com?


I searched for jeffs-desktop* in /etc and /var, to no avail.

I read Pro Puppet by Turnbull and McCune and on page 12, it says that I can create a configuration (which I hope includes a certificate) using the command

puppetmasterd --genconfig > puppet.conf

I find myself in a catch-22 situation.
root@jeffs-desktop:/etc/puppet# puppetmaster --genconfig > /etc/puppet/puppet.conf
No command 'puppetmaster' found, did you mean:
Command 'puppetmasterd' from package 'puppetmaster' (main)
puppetmaster: command not found
root@jeffs-desktop:/etc/puppet# puppetmasterd --genconfig > /etc/puppet/puppet.conf
The program 'puppetmasterd' is currently not installed. You can install it by typing:
apt-get install puppetmaster
root@jeffs-desktop:/etc/puppet#
oot@jeffs-desktop:/etc/puppet# apt-get install puppetmaster
Reading package lists... Done
Building dependency tree
Reading state information... Done
puppetmaster is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
root@jeffs-desktop:/etc/puppet#



I also tried the installation procedure discussed in https://docs.puppetlabs.com/guides/install_puppet/install_debian_ubuntu.html and that doesn't help, because apt-get thinks I am up-to-date on everything.

I think I am stuck.  

Any advice?


Many thanks in advance.

Jeff


Matthaus Owens

unread,
Dec 12, 2014, 8:00:37 PM12/12/14
to Puppet Users
puppetmasterd was removed for the Puppet 3 series. The equivalent
command should be `puppet master --genconfig >
/etc/puppet/puppet.conf`. Hope that helps.
> --
> 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...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/puppet-users/921f136c-a13b-4f62-86ff-54bd0f687c3d%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.



--
Matthaus Owens
Puppet Labs

Join us at PuppetConf 2015, October 5-9 in Portland, OR -
http://2015.puppetconf.com.
Register early to save 40%!
Reply all
Reply to author
Forward
0 new messages