(I posted this yesterday, but for some reason it never showed up)...

First off, master & agent are Debian Linux boxes running Wheezy (Debian 
7.4).
Puppet Master and Agent are V3.4.3

So here's the deal.. I'm trying to install PowerDNS recursor on my agent
with a custom configure file (/etc/powerdns/recursor.conf).  All of that
works, but what is happening is:

1. The package is installed...
2. The service is started...
3. The configuration is updated..
4. The service is NOT restarted..

So pdns-recursor is running with the old configuration.

Here is my setup on my master:

package { 'pdns-recursor':
  ensure => installed,
}


file { '/etc/powerdns/recursor.conf':
  ensure  => file,
  owner   => 'pdns',
  group   => 'pdns',
  mode    => '0644',
  require => Package['pdns-recursor'],
  notify  => Service['pdns-recursor'],
  source  => 'puppet:///configs/powerdns/recursor.conf',
}


service { 'pdns-recursor':
  ensure     => 'running',
  enable     => 'true',
}


Any ideas on how to fix this?  I have a similar problem with another 
service (fail2ban)
that installs a custom configuration in /etc/fail2ban/jail.local (which 
doesn't exist
in the default installation, but Debian does a smart include).

1. Fail2Ban is installed
2. Fail2Ban is started.
3. Custom configuration is installed
4. Fail2Ban does NOT restart.

P.S. On a side note, I have a bootstrap process that takes a new server, 
installs
Salt & Puppet, puppet then connects to the master, I sign the key - but 
then 
nothing happens.  I have to service puppet restart on the agent in order 
for it
to pick up any of the changes.  Once I do that, it automatically checks 
every
1800 seconds as normal.  Is there some way around this?

-- Rob

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/8075eb6a-8b3e-4be8-baae-8629a8dffc6b%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to