Skip to content

Commit 866d542

Browse files
Merge pull request #101 from nvwls/chrony-pool
Check for `pool` or `server` in chrony.conf
2 parents e9b52ba + 95e12f3 commit 866d542

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

controls/2_2_special_purpose_services.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@
108108
describe.one do
109109
%w(/etc/chrony/chrony.conf /etc/chrony.conf).each do |f|
110110
describe file(f) do
111-
its(:content) { should match(/^server\s+\S+/) }
111+
its('content') { should match(/^(pool|server)\s+\S+/) }
112112
end
113113
end
114114
end

0 commit comments

Comments
 (0)