Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I forgot to put node command in site.pp, something like this:

class emacs {
    package {
        ensure => installed

node default {
        include emacs

Original question:

I installed puppetd and puppetmaster on my workstation. I'm running Fedora14, puppetd, puppetmaster version 0.25.5. When I run puppetmaster and puppet I get this in /var/log/messages:

Apr 20 08:51:31 localhost puppetmasterd[4734]: Reopening log files
Apr 20 08:51:31 localhost puppetmasterd[4734]: Starting Puppet server version 0.25.5
Apr 20 08:51:43 localhost puppetd[4768]: Reopening log files
Apr 20 08:51:43 localhost puppetd[4768]: Starting Puppet client version 0.25.5
Apr 20 08:51:44 localhost puppetmasterd[4734]: Compiled catalog for localhost.localdomain in 0.00 seconds
Apr 20 08:51:44 localhost puppetd[4768]: Finished catalog run in 0.09 seconds

My /etc/puppet/manifests/site.pp is like this:

class emacs {
    package {
        ensure => installed

class mc {
    package {
        ensure => purged

I put just simple configuration, just to see if this is working.

/etc/puppet/puppet.conf is:

    logdir = /var/log/puppet
    rundir = /var/run/puppet
    ssldir = $vardir/ssl
    classfile = $vardir/classes.txt
    localconfig = $vardir/localconfig
    report = true

/etc/sysconfig/puppet have:


And /etc/sysconfig/puppetmaster have:


I don't understand why puppet isn't installing packages that I putted in configuration. Did I missed something?

share|improve this question
Please feel free to add your answer using the Post your answer button below. – Ben Pilbrow Apr 20 '11 at 11:19
up vote 1 down vote accepted

Does your client resolve the fqdn correctly? run dig, and what result do you get?

also, did you configure the clients certificate on the puppetmaster?

share|improve this answer
I'm using /etc/hosts and localhost.localdomain for PUPPET_SERVER, and it resolves fine, not with dig but ping works. And certifications are not a problem, if you look at /var/log/messages you will see it doesn't complain about it. I had a problem when I used only localhost for PUPPET_SERVER, but now it works with FQDN. – XoR Apr 20 '11 at 10:41
If it now works, then accept - or if I didn't understand, what's still wrong? – Mister IT Guru Apr 20 '11 at 21:05

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.