mirror of
https://github.com/inspec/inspec
synced 2024-11-23 05:03:07 +00:00
Minor docs fixes.
Signed-off-by: Ian Maddaus <Ian.Maddaus@progress.com>
This commit is contained in:
parent
c6150f24cb
commit
19a549096f
2 changed files with 10 additions and 37 deletions
|
@ -46,7 +46,6 @@ The following examples show how to use this Chef InSpec audit resource.
|
|||
|
||||
This resource matches any service listed in the `chrony.conf` file.
|
||||
|
||||
<<<<<<< HEAD
|
||||
### Test for clock drift against named servers
|
||||
|
||||
```ruby
|
||||
|
@ -71,32 +70,6 @@ describe chrony_conf do
|
|||
end
|
||||
```
|
||||
|
||||
=======
|
||||
### Test for clock drift against named servers.
|
||||
|
||||
```ruby
|
||||
describe chrony_conf do
|
||||
its('driftfile') { should cmp '/var/lib/chrony/drift' }
|
||||
its('server') do
|
||||
should cmp [
|
||||
'0.ubuntu.pool.ntp.org',
|
||||
'1.ubuntu.pool.ntp.org',
|
||||
'2.ubuntu.pool.ntp.org'
|
||||
]
|
||||
end
|
||||
end
|
||||
```
|
||||
|
||||
### Test that an NTP server exists and a specific subnet is specified from which NTP clients are allowed access.
|
||||
|
||||
```ruby
|
||||
describe chrony_conf do
|
||||
its('server') { should_not eq nil }
|
||||
its('allow') { should include '192.168.0.0/16'}
|
||||
end
|
||||
```
|
||||
|
||||
>>>>>>> daa9d77766c9283c2e0fd84dedc65263f2df2907
|
||||
## Matchers
|
||||
|
||||
For a full list of available matchers, please visit our [matchers page](/inspec/matchers/).
|
||||
|
|
Loading…
Reference in a new issue