extend doc for service resource

This commit is contained in:
Christoph Hartmann 2015-10-19 23:15:11 +02:00
parent 2c2f396510
commit 423bb09044

View file

@ -1632,13 +1632,12 @@ A ``service`` InSpec resource block declares the name of a service and then one
it { should be_running }
end
..
.. where
..
.. * ``xxxxx`` must specify xxxxx
.. * xxxxx
.. * ``xxxxx`` is a valid matcher for this InSpec resource
..
where
* ``service()`` must specify a service name
* ``service_name`` is the service name
* ``be_enabled`` and ``be_running`` are a valid matcher for this InSpec resource
Matchers -- DONE
-----------------------------------------------------
@ -1690,6 +1689,17 @@ The following examples show how to use this InSpec resource in a recipe.
it { should be_running }
end
Supported Operating Systems
-----------------------------------------------------
* CentOS 6, 7
* Debian 6, 7, 8
* FreeBSD 9, 10
* MacOS 10.8, 10.9, 10.10
* Red Hat Enterprise Linux 6, 7
* Ubuntu 12.04, 14.04
* Windows 2012 R2
ssh_config -- DONE
=====================================================