From 600e0e86b08d2ad8ebeb6d7c55d289f69682fc46 Mon Sep 17 00:00:00 2001 From: Clinton Wolfe Date: Tue, 9 Apr 2019 16:26:02 -0400 Subject: [PATCH] Document input features Signed-off-by: Clinton Wolfe --- README.md | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 8eb1a80..5e09530 100644 --- a/README.md +++ b/README.md @@ -241,26 +241,28 @@ suites: compliance: base/ssh ``` -### Use attributes with your inspec profiles +### Use inputs with your inspec profiles -To run a profile with attributes defined inline, you can adapt your `.kitchen.yml`: +Note: InSpec Inputs were formerly known as InSpec Attributes. As they are not related to Chef Attributes, they have been renamed to reduce confusion. + +To run a profile with inputs defined inline, you can adapt your `.kitchen.yml`: ```yaml verifier: inspec_tests: - path: test/integration/attributes - attributes: + inputs: user: bob password: secret ``` -You can also define your attributes in an external file. Adapt your `.kitchen.yml` to point to that file: +You can also define your inputs in external files. Adapt your `.kitchen.yml` to point to those files: ```yaml verifier: inspec_tests: - path: test/integration/attributes - attrs: + input_files: - test/integration/profile-attribute.yml ```