From 5018e1e03e67468b0f9616674370959951ddb7ec Mon Sep 17 00:00:00 2001 From: Christoph Hartmann Date: Fri, 27 Nov 2015 16:03:52 +0100 Subject: [PATCH] remove json doc for windows_feature --- docs/resources.rst | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/docs/resources.rst b/docs/resources.rst index e6cd0bddb..0ea105d71 100644 --- a/docs/resources.rst +++ b/docs/resources.rst @@ -4084,20 +4084,10 @@ The |nginx| user is typically ``www-data``, but on |centos| it's ``nginx``. The windows_feature ===================================================== -Use the ``windows_feature`` |inspec resource| to test features on |windows|. The ``Get-WindowsFeature`` cmdlet returns the following values: ``Property Name``, ``DisplayName``, ``Description``, ``Installed``, and ``InstallState``, returned as a |json| object similar to: +Use the ``windows_feature`` |inspec resource| to test features on |windows|. It uses the ``Get-WindowsFeature`` cmdlet under the hood. **Stability: Experimental** -.. code-block:: javascript - - { - "Name": "XPS-Viewer", - "DisplayName": "XPS Viewer", - "Description": "The XPS Viewer reads, sets permissions, and digitally signs XPS documents.", - "Installed": false, - "InstallState": 0 - } - Syntax ----------------------------------------------------- A ``windows_feature`` |inspec resource| block declares the name of the |windows| feature, tests if that feature is installed, and then returns information about that feature: