lib/linux_admin/chrony.rb in linux_admin-2.0.0 vs lib/linux_admin/chrony.rb in linux_admin-2.0.1
- old
+ new
@@ -8,9 +8,10 @@
end
def clear_servers
data = File.read(@conf)
data.gsub!(/^server\s+.+\n/, "")
+ data.gsub!(/^pool\s+.+\n/, "")
File.write(@conf, data)
end
def add_servers(*servers)
data = File.read(@conf)