add examples to audit_daemon_conf

This commit is contained in:
jamescott 2015-10-19 21:48:54 -07:00 committed by Christoph Hartmann
parent 4e83383d84
commit 0ebcc5c5a6

View file

@ -222,6 +222,27 @@ Use the ``audit_daemon_conf`` InSpec resource to xxxxx.
IN_PROGRESS IN_PROGRESS
Examples -- DONE
+++++++++++++++++++++++++++++++++++++++++++++++++++++
The following examples show how to use this InSpec resource in a test.
**Test xxxxx**
.. code-block:: ruby
describe audit_daemon_conf do
its('space_left_action') { should eq 'email' }
its('action_mail_acct') { should eq 'root' }
its('admin_space_left_action') { should eq 'halt' }
end
**Test xxxxx**
describe audit_daemon_conf do
its('space_left_action') { should eq 'SYSLOG' }
its('action_mail_acct') { should eq 'root' }
its('tcp_listen_queue') { should eq '5' }
end
audit_daemon_rules audit_daemon_rules