Richard Nixon
f66f0b3a18
Initial support for x509_certificate and rsa_key
...
* Includes unit tests
* Includes 2 new resources
* Includes documentation
Signed-off-by: Richard Nixon <richard.nixon@btinternet.com>
2017-03-22 10:00:48 +01:00
Adam Leff
bf36c0a7a7
Merge pull request #1555 from nvtkaszpir/patch-1
...
Update file.md with example how to test symlinked files
2017-03-15 09:00:32 -05:00
Michał Sochoń
7a935a204e
Update file.md with example how to test symlinked files.
...
Added detailed example why and how.
Updated with suggestions from Adam Leff.
Signed-off-by: Michał Sochoń <kaszpir@gmail.com>
2017-03-15 07:53:14 +01:00
Adam Leff
8155357d0a
Add additional example for matching crontab commands
...
As raised in #1526 , adding an additional example showing how
a user can use the `where` accessor to find commands matching
a pattern and write a test using the results.
Signed-off-by: Adam Leff <adam@leff.co>
2017-03-14 22:16:39 +01:00
Adam Leff
7667c9cb0a
Merge pull request #1525 from spiffytech/patch-1
...
windows_task docs: Correct syntax error and misspelled word
2017-03-08 15:03:15 -07:00
Tristan Escalada
27d94c5037
Fixing a typo
...
changing paht to be path.
2017-03-03 14:03:54 -05:00
Christoph Hartmann
e8e34c2ffe
fix ident in cmp matcher docs
...
Signed-off-by: Christoph Hartmann <chris@lollyrock.com>
2017-03-02 12:28:50 +01:00
spiffytech
152f056335
windows_task docs: Correct syntax error and misspelled word
2017-03-01 13:43:26 -05:00
Basil Peace
4bc1c1df4e
doc: Fix inspec.yml
example with several supports
settings
...
Mapping keys should be unique according to YAML specification.
Note that some implementations don't enforce it, but silenty
overwrite previous declaration. See e.g.
https://github.com/ruby/psych/issues/79
Signed-off-by: Basil Peace <grv87@yandex.ru>
2017-02-26 18:09:54 +03:00
Basil Peace
2b4f7ea5c9
doc: Fix problem with link to plugin_kitchen_inspec
2017-02-26 17:25:39 +03:00
Joseph Benden
1fdecc6680
Add FreeBSD support for ZFS datasets and pools
...
The following new resources have been added; however, they
presently only support FreeBSD and similar.
* `zfs_dataset`: tests if a named ZFS dataset is present
and/or has certain properties.
* `zfs_pool`: tests if a named ZFS pool is present and/or
has certain properties.
Additionally, the `mount` resource has been reworked to
include support for FreeBSD; while the existing class
was renamed to LinuxMountParser.
Unit-tests were added for all of the above.
Signed-off-by: Joseph Benden <joe@benden.us>
2017-02-22 10:29:49 -07:00
Adam Leff
417b791baa
Adding new crontab resource
...
The crontab resource parses a particular user's crontab file into
individual entries and allows the user to assert information about
each entry as needed.
Signed-off-by: Adam Leff <adam@leff.co>
2017-02-10 09:33:31 -05:00
Christoph Hartmann
78b7a2c680
Merge pull request #1435 from postgred/kernel_module_version
...
Version method for kernel_module
2017-01-27 17:49:23 +01:00
Andrey Aleksandrov
3783357e50
Add version method to kernel_module
...
Signed-off-by: Andrey Aleksandrov <postgred@gmail.com>
2017-01-27 13:33:41 +03:00
Christoph Hartmann
976e5d85e4
improve http header handling
...
Signed-off-by: Christoph Hartmann <chris@lollyrock.com>
2017-01-26 17:16:37 +01:00
Guilhem Lettron
51ca98c468
Add an http test method
...
Signed-off-by: Guilhem Lettron <g.lettron@criteo.com>
2017-01-26 12:02:54 +01:00
Christoph Hartmann
791f2db2e5
Merge pull request #1407 from gscho/rhel-doc-fix
...
Fixed error in OS docs, added CentOS to redhat family docs.
2017-01-25 12:13:51 +01:00
Nathen Harvey
2eda02932f
'execution' is spelled correctly
...
Fixes a minor typo. The correct spelling is 'execution', not
'executation'
Signed-off-by: Nathen Harvey <nharvey@chef.io>
2017-01-24 23:19:30 -05:00
techraf
3741cbe9d4
Fix resource name
2017-01-20 22:19:02 +09:00
techraf
a86b438ce4
Use double quotes to prevent escaping backslash in the expected string
2017-01-16 12:30:57 +09:00
gscho
3b7711adbc
Update os.md.erb
2017-01-08 19:59:02 -05:00
Gregory Schofield
452b716591
Fixed error in OS docs, added CentOS to rehat family docs.
2017-01-08 19:51:33 -05:00
Alex Pop
607de99f75
mention inspec vendor for compliance dependency
...
Signed-off-by: Alex Pop <apop@chef.io>
2016-12-22 12:11:46 +00:00
Christoph Hartmann
fd2e29da38
add guidance for Serverspec migration
...
Signed-off-by: Christoph Hartmann <chris@lollyrock.com>
2016-12-15 18:14:05 +01:00
Christoph Hartmann
71127cf33e
Merge pull request #1354 from jerryaldrichiii/fix-iis-site-example
...
Remove trailing `\\` from iis_site example
2016-12-12 11:06:32 +01:00
Jerry Aldrich III
f2e6577460
Remove trailing \\
from iis_site example
...
Signed-off-by: Jerry Aldrich III <jerry@chef.io>
2016-12-09 10:00:10 -05:00
Christoph Hartmann
a990d20fcd
Merge pull request #1306 from username-is-already-taken2/digitalgaz/windows_task
...
Adding windows_task resource
2016-11-25 11:46:42 -07:00
Jerry Aldrich III
66a47ce8b9
Remove extra '
in registry key examples
...
Signed-off-by: Jerry Aldrich III <jerry@chef.io>
2016-11-21 10:18:01 -06:00
username-is-already-taken2
4084a770ef
Added documentation
...
Signed-off-by: username-is-already-taken2 <digitalgaz@hotmail.com>
2016-11-20 20:25:03 +00:00
Franklin Webber
a9726910ff
Fixes resources in the docs
...
* Fixes the npm package example to state 'npm' vs 'gem'
* Fixes powershell resource to specify the resource instead of 'script'
* Updates the example to rename variable 'script'
While ruby would allow the local variable and the presence of the InSpec method at the same time I think that it is bad form. Other resource examples also use 'script'.
* Changes pip to show generic example
Other package like resources show a generic example in the default.
Signed-off-by: Franklin Webber <franklin@chef.io>
2016-11-19 17:57:03 -08:00
Alex Pop
c94407ca2c
docs: quoted version for package resource example
...
Signed-off-by: Alex Pop <apop@chef.io>
2016-11-16 11:24:19 +00:00
Christoph Hartmann
a95f0cf116
fix #1226
...
Signed-off-by: Christoph Hartmann <chris@lollyrock.com>
2016-11-03 00:32:31 +01:00
Artem Sidorenko
755f24ed6f
Code-block directive is not needed here ( #1247 )
...
and breaks the layout: http://inspec.io/docs/reference/resources/file/
Signed-off-by: Artem Sidorenko <artem@posteo.de>
2016-10-25 23:26:08 +02:00
Seth
23456c5e86
Fix issue with registry_key example ( #1243 )
...
* Fix issue with registry_key example
* Fix issue with registry_key example
Signed-off-by: Seth Thoenen <seththoenen@gmail.com>
2016-10-25 22:34:30 +02:00
Nathen Harvey
7e4157ddf4
Headers and list elements that include more than one _
character were being rendered incorrectly. (Perhaps it is only when there are an even number but in any case I only found words with either one or two _
s.)
...
The html rendered from markdown would look like:
`<h3>be<em>grouped</em>into</h3>`
When there is only one `_` the html rendered correctly:
`<h3>be_directory</h3>`
This change escapes the `_` when there are multiple.
* New markdown: `### be\_grouped\_into`
* New html: `<h3>be_grouped_into</h3>`
resource matchers fixed:
* be_block_device
* be_character_device
* be_grouped_into
* be_linked_to
* be_owned_by
* have_app_pool
* have_property_value
resource fixed:
* parse_config_file
Signed-off-by: Nathen Harvey <nharvey@chef.io>
2016-10-20 07:07:18 -04:00
Dominik Richter
b08de666e8
Merge pull request #1179 from davidwrede/doc_edits
...
Changing headings to align with SEO best practices
2016-09-30 15:33:21 +02:00
Victoria Jeffrey
3c9db53b6f
add example for yumconf-like structured files
2016-09-30 13:37:47 +02:00
tpetchel
e2f878eaee
Fix a few typos
2016-09-27 22:02:20 -04:00
David Wrede
9283f19b6e
Changing headings to align with SEO best practices
...
Signed-off-by: David Wrede <dwrede@chef.io>
2016-09-27 12:03:23 -07:00
Alex Pop
9ce4ebb3a0
update dependency documentation and mention the lockfile
2016-09-26 16:31:06 +01:00
Steven Danna
3507c970a9
Document the require_resource function
...
Signed-off-by: Steven Danna <steve@chef.io>
2016-09-26 11:53:33 +01:00
Dominik Richter
babbf71dd1
add intro to inspec and friends
2016-09-26 06:21:05 +02:00
Dominik Richter
f9248033c3
render resource docs
2016-09-22 16:47:58 +02:00
Dominik Richter
dba8638e3a
ignore auto-generated docs
2016-09-22 16:47:54 +02:00
Dominik Richter
67c990d19c
add all partials for resources
2016-09-22 15:23:21 +02:00
Dominik Richter
5a5fa03321
add ruby usage in inspec as markdown
2016-09-22 15:06:04 +02:00
Dominik Richter
f179c88074
improve cli docs styling
2016-09-22 13:49:56 +02:00
Dominik Richter
a4982fc4f1
generate docs for cli
2016-09-22 13:43:57 +02:00
Christoph Hartmann
0e7c534ea7
1.0.0.beta2
2016-09-22 11:33:43 +02:00
Dominik Richter
c8638f9917
update docs to markdown
...
run 2/3
2016-09-22 10:16:16 +02:00