puppet-dhcp
puppet-dhcp copied to clipboard
Centos 7 Failover fails
Affected Puppet, Ruby, OS and module versions/distributions
- Puppet: 4.8.1
- Ruby:
- Distribution: CentOS Linux release 7.2.1511
- Module version: 1.0.2-rc0+
How to reproduce (e.g Puppet code you use)
class { 'dhcp':
dnsdomain => hiera('dhcp::dnsdomain'),
nameservers => hiera('dhcp::nameservers'),
ntpservers => hiera('dhcp::ntpservers'),
interfaces => hiera('dhcp::interfaces'),
# dnsupdatekey => "/etc/bind/bind.keys.d/${ddnskey}.key",
# require => Dns::Key[$ddnskey],
}
if ($ipam::dhcp_use_failover) {
class {'dhcp::failover':
role => hiera('dhcp::failover::role'),
peer_address => hiera('dhcp::failover::peer_address'),
}
What are you seeing
Failover configuration fails do to "port" statement in template.
What behaviour did you expect instead
Failover configuration functioned properly when using centos 6. It appears changes between centos 6 and centos 7 regarding to dhcpd cause this module to when configuring failover on centos 7. Commenting out the port statement in the templates/dhcpd.conf.failover.erb file resolves the issue.
Output log
Any additional information you'd like to impart
Can you post the actual error that comes up?