The only custom config I have is to comment out the makestep line. Other
than that I configure things through puppet in a very straightforward
way:

class ntp {
  package {"openntpd":
    ensure => purged,
  }

  package {"ntpdate":
    ensure => purged,
  }

  package {"ntp":
    ensure => purged,
  }

  package {"chrony":
    ensure => present,
    require => Package['openntpd', 'ntpdate', 'ntp'],
  }

  file {'/etc/chrony/chrony.conf':
    ensure => present,
    owner => "root",
    group => "root",
    mode => '0644',
    source => 'puppet:///modules/ntp/chrony.conf',
    require => Package[chrony],
    notify => Service[chrony],
  }

  service {"chrony":
    ensure     => running,
    enable     => true,
    hasrestart => true,
    hasstatus  => true,
  }
}

I don't know exactly what the "service" does to enable things in systemd
but whatever it is hasn't worked apparently even though systemd does say
it's enabled.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1779621

Title:
  chrony exits unexpectedly

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/chrony/+bug/1779621/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to