lib/linux_admin/chrony.rb in linux_admin-0.15.0 vs lib/linux_admin/chrony.rb in linux_admin-0.16.0
- old
+ new
@@ -12,10 +12,10 @@
end
def add_servers(*servers)
data = File.read(@conf)
data << "\n" unless data.end_with?("\n")
- servers.each { |s| data << "server #{s}\n" }
+ servers.each { |s| data << "server #{s} iburst\n" }
File.write(@conf, data)
end
end
end