Christoph Hartmann
d8b4b1d7b4
update cli description of --path
2015-11-02 02:06:14 +01:00
Christoph Hartmann
afb9c2441a
update cli options
2015-11-02 02:06:10 +01:00
Christoph Hartmann
f8302b6383
use ssh_config instead of sshd_conf
2015-11-02 01:53:49 +01:00
chef-delivery
28b3b8ae8f
Merge pull request #185 from chef/sudo
...
Merged change 8d2ada5d-1492-43ca-9655-93ca593cd900
From review branch sudo into master
Signed-off-by: chartmann <chartmann@chef.io>
2015-11-01 16:32:17 -08:00
Dominik Richter
00e2d800e4
adjust documentation for api change to --sudo
2015-11-02 01:05:00 +01:00
Dominik Richter
2b7f4040e7
api: change --disable_sudo -> --sudo
...
Align with options in train. This also prevents unexpected behavior where sudo is used, without being requested. Example:
```
command('uname -a')
```
This command will not run if no sudo information is given and e.g. a sudo password is configured on the node. The user can activate sudo usage with `--sudo` now.
2015-11-02 01:05:00 +01:00
Dominik Richter
94e0e175c7
Merge pull request #183 from chef/passwd
...
remove dup method users, use usernames, fix example
2015-11-02 00:37:35 +01:00
Christoph Hartmann
4a676f55c3
remove dup method users, use usernames, fix example
2015-11-02 00:22:08 +01:00
chef-delivery
bc15c857b5
Merge pull request #179 from chef/os_env
...
Merged change 2a868e9f-90a3-4cc6-9c4c-ba510f43ac11
From review branch os_env into master
Signed-off-by: drichter <drichter@chef.io>
2015-11-01 15:15:42 -08:00
Dominik Richter
d328919370
simplify resiliance
2015-11-01 23:48:29 +01:00
Christoph Hartmann
cdab39079a
improvement: make os_env command more robust
2015-11-01 23:22:01 +01:00
Christoph Hartmann
1be689b77e
remove exit_status and only call split if we have a string
2015-11-01 23:21:08 +01:00
Christoph Hartmann
324fa4881f
do not offer stderr method via os_env
2015-11-01 23:14:12 +01:00
chef-delivery
70008d4d1e
Merge pull request #165 from chef/jscott/addinspecdsldraftcopy12345
...
Merged change 55adeaee-3f30-4331-9716-77bf57bbe464
From review branch jscott/addinspecdsldraftcopy12345 into master
Signed-off-by: drichter <drichter@chef.io>
2015-11-01 14:06:24 -08:00
Christoph Hartmann
2a400c37f7
update resource examples
2015-11-01 22:58:31 +01:00
jamescott
ca77f1285c
add draft version of InSpec DSL topic
2015-11-01 22:58:31 +01:00
chef-delivery
45414d804c
Merge pull request #178 from chef/group_policy
...
Merged change 29f1ea8f-45dc-49bd-aa4a-7070a2fcf1d4
From review branch group_policy into master
Signed-off-by: drichter <drichter@chef.io>
2015-11-01 13:54:16 -08:00
Christoph Hartmann
1941606b9e
deactivate group policy for now
2015-11-01 22:39:30 +01:00
chef-delivery
c48944e851
Merge pull request #173 from chef/update-os-env-docs
...
Merged change 4c293782-8ad2-4615-9781-4883a2f39cf6
From review branch update-os-env-docs into master
Signed-off-by: drichter <drichter@chef.io>
2015-11-01 13:39:03 -08:00
Christoph Hartmann
9e53556379
fix os_env example
2015-10-31 11:55:10 +01:00
chef-delivery
2f91cdb03e
Merge pull request #177 from chef/nathen/add_maintainers
...
Merged change 1e7b9691-2dc4-4fd2-8710-44843ab0a062
From review branch nathen/add_maintainers into master
Signed-off-by: chartmann <chartmann@chef.io>
2015-10-30 09:45:26 -07:00
Christoph Hartmann
af613a14da
do not load maintenance gems during testing
2015-10-30 17:30:44 +01:00
Christoph Hartmann
ac81c7b5bd
fix more lint issues
2015-10-30 17:18:50 +01:00
Christoph Hartmann
482b8f71ee
fix rubocop linting
2015-10-30 17:03:22 +01:00
Christoph Hartmann
c71e454259
add gems for maintainer generation
2015-10-30 17:02:18 +01:00
Nathen Harvey
8ff9a5cf01
Prefer single-quoted strings when you don't need string interpolation or special symbols.
2015-10-30 16:37:53 +01:00
Nathen Harvey
1e00e582eb
A MAINTAINERS file lists the maintainers of the prject
...
* MAINTAINERS.toml is the source of record
* MAINTAINERS.md is generated using a new rake task
* New rake task added for generating the maintainers markdown file
* New rake task for synchronizing the github team
2015-10-30 16:37:53 +01:00
chef-delivery
921d06b23c
Merge pull request #171 from chef/jcreedcmu-patch-1
...
Merged change b7b68cff-287f-4c8b-a98b-92bc604b7500
From review branch jcreedcmu-patch-1 into master
Signed-off-by: jreed <jreed@chef.io>
2015-10-30 07:34:36 -07:00
Christoph Hartmann
fa289dd1f1
add description for integration tests
2015-10-30 15:20:45 +01:00
jcreedcmu
9336aff661
Forgot one more bundle exec
2015-10-30 15:20:45 +01:00
jcreedcmu
08b816681c
Update README.md
...
Not sure if some of the warning/description I'm leaving in this section still apply to these tests, or whether they apply to tests that will go in https://github.com/chef/inspec/tree/master/test/integration in the future.
2015-10-30 15:20:45 +01:00
chef-delivery
70efd7f9b8
Merge pull request #172 from chef/docs-abbreviations
...
Merged change 895a4a10-9b84-4bdc-a5ae-7f80040891ec
From review branch docs-abbreviations into master
Signed-off-by: jreed <jreed@chef.io>
2015-10-30 06:40:50 -07:00
Christoph Hartmann
e08f0b4d88
add abbreviations
2015-10-30 14:29:19 +01:00
chef-delivery
79c5a28ac7
Merge pull request #168 from chef/jcreedcmu-patch-1
...
Merged change 467d47a7-33d8-4183-ac62-5a2998c37618
From review branch jcreedcmu-patch-1 into master
Signed-off-by: chartmann <chartmann@chef.io>
2015-10-30 05:35:53 -07:00
jcreedcmu
801bc9700f
Update ctl_inspec.rst
...
Documentation appears to have been describing the state of the world before a62ce0e14b
2015-10-30 12:44:30 +01:00
chef-delivery
443fad2b2a
Merge pull request #169 from chef/jc/docs
...
Merged change 78ec3511-d420-4844-a86c-db6fa9b9fecb
From review branch jc/docs into master
Signed-off-by: chartmann <chartmann@chef.io>
2015-10-30 04:43:11 -07:00
Jason Reed
5b6397fc25
Fix docs so they at least compile with rst2html.py
2015-10-30 07:28:40 -04:00
Dominik Richter
8d154eb91f
Merge pull request #167 from nathenharvey/nathen/readme
...
Minor changes to the README
2015-10-29 19:38:58 +01:00
Nathen Harvey
01af426101
Minor wording changes
2015-10-29 11:42:22 -04:00
Nathen Harvey
68e7b0a59c
'InSpec' uses consistent capitalization
2015-10-29 08:01:00 -04:00
chef-delivery
6f9aeb6405
Merge pull request #164 from chef/jscott/syncresources
...
Merged change b187230b-217f-48eb-b665-14ca4b3fe3bc
From review branch jscott/syncresources into master
Signed-off-by: drichter <drichter@chef.io>
2015-10-27 15:28:56 -07:00
jamescott
5c22048caa
sync words
...
|inspec resource| = InSpec audit resource
2015-10-27 23:26:42 +01:00
Dominik Richter
24ec8be3d8
Merge pull request #163 from chef/docs
...
Improve docs
2015-10-27 23:04:54 +01:00
Christoph Hartmann
438dca1d28
improve docs for parse_config_file
2015-10-27 21:34:09 +01:00
Christoph Hartmann
178cf2564d
remove postgres and mysql from resource docs for now
2015-10-27 21:34:09 +01:00
Christoph Hartmann
0e6a6296a3
remove to_i in its docs
2015-10-27 21:34:09 +01:00
Christoph Hartmann
7f3082f103
introduce stability index for resources
2015-10-27 21:34:08 +01:00
Christoph Hartmann
ebeac09036
extend docs introduction
2015-10-27 21:34:08 +01:00
chef-delivery
a8cdb53e45
Merge pull request #162 from chef/json
...
Merged change 68a5ab3f-f9c5-482c-a61e-2d5776f8931f
From review branch json into master
Signed-off-by: chartmann <chartmann@chef.io>
2015-10-27 13:32:57 -07:00
Dominik Richter
24451469ca
api: method_missing doesnt resolve hashmaps
...
Since #its has its(pun) own way of handling calls with a dot-notation, the full call is never passed to the resource. For example:
```ruby
describe json('file') do
its('a.b.c') { should eq 123 }
end
```
This is resolved to calling `json('file').a.b.c` and thus doesnt work as an intended `json('file').send('a.b.c'). For now use
regular its-behavior of calling `json('file').params ... its(%w{a b c}) { should ... }`.
Its' behavior must be improved.
2015-10-27 16:35:43 +01:00