Make minor grammar/style changes to inspec.io

Signed-off-by: Jerry Aldrich III <jerry@chef.io>
This commit is contained in:
Jerry Aldrich III 2017-01-29 14:22:02 -06:00
parent 78b7a2c680
commit 3675ff099f

View file

@ -26,7 +26,7 @@ header.blue-gradient.margin-top-offset
| code | code
span.code-attribute span.code-attribute
| do it | do it
| {should be_inspec} | { should be_inspec }
span.code-attribute span.code-attribute
| end | end
@ -100,20 +100,20 @@ header.blue-gradient.margin-top-offset
i.fa.fa-angle-right.t-dk i.fa.fa-angle-right.t-dk
| Add context to your tests | Add context to your tests
p.t-white p.t-white
| Supports many fields like descriptions, tags, and impact. | Utilize many fields like descriptions, tags, and impact.
h3.t-white h3.t-white
i.fa.fa-angle-right.t-dk i.fa.fa-angle-right.t-dk
| Apply to all systems | Apply to all systems
p.t-white p.t-white
| Combine profiles and customize them with overlays. Pick controls and define exceptions as code. | Analyze everything using the same codified profiles and controls.
/! code /! code
.large-6.medium-6.columns .large-6.medium-6.columns
.code-example.shadow.relative-top.margin-under .code-example.shadow.relative-top.margin-under
code.code-demo code.code-demo
span.code-attribute control span.code-attribute control
| 'sshd-21' | 'sshd-21'
br/ br/
span.code-token.indent title span.code-token.indent title
| 'Set SSH Protocol to 2' | 'Set SSH Protocol to 2'
@ -122,20 +122,20 @@ header.blue-gradient.margin-top-offset
| 'A detailed description' | 'A detailed description'
br/ br/
span.code-token.indent impact span.code-token.indent impact
| 1.0 #this is critical | 1.0 # This is critical
br/ br/
span.code-token.indent ref span.code-token.indent ref
| 'compliance guide, section 2.1' | 'compliance guide, section 2.1'
br/ br/
br/ br/
span.code-attribute describe span.code-attribute.indent describe
| sshd_config | sshd_config
span.code-attribute do span.code-attribute do
br/ br/
span.code-attribute.indent its span.code-attribute.indent &nbsp;&nbsp;its
| ('Protocol') {should cmp 2} | ('Protocol') { should cmp 2 }
br/ br/
span.code-attribute.indent end span.code-attribute.indent end
br/ br/
@ -155,52 +155,52 @@ header.blue-gradient.margin-top-offset
h3.t-white h3.t-white
i.fa.fa-angle-right.t-dk i.fa.fa-angle-right.t-dk
| Test the desired state | Test the desired state
p.t-white Match your infrastructure to your expectations. p.t-white Verify your infrastructure matches your expectations.
h3.t-white h3.t-white
i.fa.fa-angle-right.t-dk i.fa.fa-angle-right.t-dk
| Use simple and expressive code | Use simple and expressive code
p.t-white p.t-white
| These tests are easy to understand by anyone, reducing friction. | Reduce friction by writing tests that are easy to understand by anyone.
h3.t-white h3.t-white
i.fa.fa-angle-right.t-dk i.fa.fa-angle-right.t-dk
| Test any system anywhere | Test any system anywhere
p.t-white p.t-white
| Runs locally and remotely. Supports all major operating systems and configurations. | Run tests locally or remotely on all major operating systems and configurations.
h3.t-white h3.t-white
i.fa.fa-angle-right.t-dk i.fa.fa-angle-right.t-dk
| Extensible | Extensible
p.t-white p.t-white
| Easily create custom resources and share them. | Create custom resources with ease and share them.
/! code /! code
.large-6.medium-6.columns .large-6.medium-6.columns
.code-example.shadow.relative-top.margin-under .code-example.shadow.relative-top.margin-under
code.code-demo code.code-demo
span.code-attribute describe span.code-attribute describe
| file('/etc/myap.conf') | file('/etc/myapp.conf')
span.code-attribute do span.code-attribute do
br/ br/
span.code-attribute.indent it span.code-attribute.indent it
| {should exist} | { should exist }
br/ br/
span.code-attribute.indent its span.code-attribute.indent its
| ('mode') {should cmp '0644'} | ('mode') { should cmp 0644 }
br/ br/
span.code-attribute end span.code-attribute end
br/ br/
br/ br/
span.code-attribute describe span.code-attribute describe
| myapp.conf | myapp.conf
span.code-attribute do span.code-attribute do
br/ br/
span.code-attribute.indent its span.code-attribute.indent its
| ('port') {should cmp 8080} | ('port') { should cmp 8080 }
br/ br/
span.code-attribute end span.code-attribute end
br/ br/
@ -210,7 +210,7 @@ header.blue-gradient.margin-top-offset
span.code-attribute do span.code-attribute do
br/ br/
span.code-attribute.indent it span.code-attribute.indent it
| {should be_listening} | { should be_listening }
br/ br/
span.code-attribute end span.code-attribute end
a.btn.strict-right.t-white.try-demo.mobile-hide Try the Demo a.btn.strict-right.t-white.try-demo.mobile-hide Try the Demo