Fix docs so they at least compile with rst2html.py

This commit is contained in:
Jason Reed 2015-10-30 07:28:40 -04:00
parent 8d154eb91f
commit 5b6397fc25

View file

@ -2202,13 +2202,13 @@ The following examples show how to use this InSpec audit resource.
**Test * and ftp limits**
.. code-block:: ruby
describe limits_conf('path') do
its('*') { should include ['soft', 'core', '0'], ['hard', 'rss', '10000'] }
its('ftp') { should eq ['hard', 'nproc', '0'] }
end
login_defs
=====================================================
Use the ``login_defs`` |inspec resource| to test configuration settings in the ``/etc/login.defs`` file. The ``logins.defs`` file defines site-specific configuration for the shadow password suite on |linux| and |unix| platforms, such as password expiration ranges, minimum/maximum values for automatic selection of user and group identifiers, or the method with which passwords are encrypted.
@ -3024,15 +3024,11 @@ This |inspec resource| supports the following options for parsing configuration
.. code-block:: ruby
<<<<<<< HEAD
describe parse_config_file('/myfile', { assignment_re: /^\s*([^:]*?)\s*:\s*(.*?)\s*$/, multiple_values: true }) do
=======
options = {
assignment_re: /^\s*([^:]*?)\s*:\s*(.*?)\s*$/,
multiple_values: true
}
describe parse_config_file(options) do
>>>>>>> sync words
its('setting') { should eq 1 }
end