Skip to content

Commit

Permalink
experiemtally switch ntp.conf to chrony.conf
Browse files Browse the repository at this point in the history
  • Loading branch information
jreidinger committed Nov 1, 2017
1 parent 6c955b6 commit e45a3c7
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/lib/cfa/ntp_conf.rb
Expand Up @@ -25,10 +25,11 @@ module CFA
#
# Important keys (that are to be read and written) are
# server, peer, fudge, broadcast and broadcastclient.
# XXX: FIXME: just POC to use it for chrony
class NtpConf < ::CFA::BaseModel
PARSER = CFA::AugeasParser.new("ntp.lns")
PARSER = CFA::AugeasParser.new("chrony.lns")

PATH = "/etc/ntp.conf".freeze
PATH = "/etc/chrony.conf".freeze

RECORD_ENTRIES = %w(
server
Expand Down

0 comments on commit e45a3c7

Please sign in to comment.