Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Centos 7 Failover fails #136

Open
ppouliot opened this issue Jan 9, 2017 · 1 comment
Open

Centos 7 Failover fails #136

ppouliot opened this issue Jan 9, 2017 · 1 comment

Comments

@ppouliot
Copy link

ppouliot commented Jan 9, 2017

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

@petems
Copy link
Member

petems commented Jan 9, 2017

Can you post the actual error that comes up?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants