mirror of
https://github.com/inspec/inspec
synced 2024-11-27 07:00:39 +00:00
Fix docs so they at least compile with rst2html.py
This commit is contained in:
parent
8d154eb91f
commit
5b6397fc25
1 changed files with 2 additions and 6 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue