Christoph Hartmann
55193fca15
Merge pull request #909 from chef/ksubrama/shell
...
Improve inspec shell by having it evaluate describe/control blocks.
2016-08-19 19:28:24 +02:00
Kartik Null Cating-Subramanian
33ae22d313
Support controls and describe blocks in InSpec shell
2016-08-19 19:07:23 +02:00
Christoph Hartmann
2848aeb07d
Merge pull request #941 from chef/chris-rock/fix-functional-tests
...
fix functional test for compliance plugin
2016-08-19 17:52:49 +02:00
Christoph Hartmann
f72fddb114
fix functional test for compliance plugin
2016-08-19 17:16:19 +02:00
Christoph Hartmann
1e93d370fe
Merge pull request #935 from chef/ssd/dep-url-fetch-1
...
Fetch deps based on urls
2016-08-19 09:58:09 +02:00
Christoph Hartmann
95029203cd
unique controls for dependency tests
2016-08-19 09:47:41 +02:00
Steven Danna
bde8aa6768
Add basic class descriptions
...
Signed-off-by: Steven Danna <steve@chef.io>
2016-08-19 09:47:40 +02:00
Steven Danna
f97924901e
Ensure we expand requirements with respect to cwd
...
Signed-off-by: Steven Danna <steve@chef.io>
2016-08-19 09:47:40 +02:00
Steven Danna
d779dd53ae
Move all dependency related classes into inspec/dependencies
...
Signed-off-by: Steven Danna <steve@chef.io>
2016-08-19 09:47:40 +02:00
Steven Danna
2041a08aa2
Fetch deps based on urls
...
This extends the dependency feature to include support for url-based
dependencies. It takes some deviations from the current support for
URLs that we'll likely want to make more consistent.
By default, we store downloaded archives in the cache rather than the
unpacked archive. However, to facilitate debugging, we will prefer the
unpacked archive if we find it in the cache.
Signed-off-by: Steven Danna <steve@chef.io>
2016-08-19 09:47:40 +02:00
Steven Danna
afc581b613
Cleanup dependency class organization
...
- Move classes into their own files
- Remove classes that aren't used
Signed-off-by: Steven Danna <steve@chef.io>
2016-08-19 09:47:40 +02:00
Christoph Hartmann
16ae499d05
Merge pull request #938 from chef/vj/fix-inspec-compliance-login-help
...
give accurate information for inspec compliance login --help
2016-08-18 21:01:09 +02:00
Christoph Hartmann
af04a0f5ba
implement workaround for thor
2016-08-18 20:50:49 +02:00
Victoria Jeffrey
b98c3e243e
give accurate information for inspec compliance login --help
2016-08-18 20:00:27 +02:00
Christoph Hartmann
a2cbe6ed8d
Merge pull request #930 from chef/vj/fix-cli-profiles-output-bad-token
...
fail gracefully on inspec compliance profiles when bad token is provided
2016-08-18 19:54:19 +02:00
Christoph Hartmann
cf784ded7c
update exit codes
2016-08-18 19:40:08 +02:00
Victoria Jeffrey
c3d245fafd
fail gracefully on inspec compliance profiles when bad token is provided
2016-08-18 19:35:29 +02:00
Christoph Hartmann
fca62b5148
Merge pull request #937 from pburkholder/pdb/doc_ports
...
Document awesome where syntax for port
2016-08-18 19:34:46 +02:00
Peter Burkholder
69a96665de
Document awesome where syntax for port
2016-08-18 12:29:23 -04:00
Christoph Hartmann
d13a8ff16f
Merge pull request #932 from chef/vj/update-token-msg
...
return token stored message on login
2016-08-18 18:12:21 +02:00
Victoria Jeffrey
24a2c5c356
return token stored message on login
2016-08-18 16:47:34 +02:00
Christoph Hartmann
b84b721b83
Merge pull request #934 from chef/chris-rock/compliance-bundler
...
Ease testing of compliance integration tests
2016-08-18 16:46:46 +02:00
Christoph Hartmann
502aef54fd
use bundler instead of gem, to speed up integration testing for different versions
2016-08-18 16:32:45 +02:00
Christoph Hartmann
696ba5bf80
Merge pull request #929 from chef/ssd/dep-recurse-1
...
Fix recursive deps for path-based deps
2016-08-18 16:32:11 +02:00
Steven Danna
34ae3122e9
Fix recursive deps for path-based deps
...
Signed-off-by: Steven Danna <steve@chef.io>
2016-08-18 16:02:16 +02:00
Christoph Hartmann
306688fb97
Merge pull request #933 from chef/chris-rock/restrucutre-unit-tests
...
restructure unit tests
2016-08-18 14:28:48 +02:00
Christoph Hartmann
1d8f8bb3e3
restructure unit tests
2016-08-18 13:47:43 +02:00
Christoph Hartmann
ab076908b4
Merge pull request #927 from chef/vj/fix-false-msg-compliance-login
...
Remove false username/passwd msg from inspec compliance login
2016-08-17 17:26:00 +02:00
Victoria Jeffrey
bdb1d913d9
Remove false username/passwd msg from inspec compliance login
2016-08-17 17:15:52 +02:00
Christoph Hartmann
c27878b1d2
Merge pull request #926 from chef/vj/no-token-version-error-msg
...
inspec compliance version fails gracefully when no server config
2016-08-17 17:13:08 +02:00
Victoria Jeffrey
b75b8ab4a9
inspec compliance version fails gracefully when server config info is missing
2016-08-17 17:00:53 +02:00
Christoph Hartmann
c25217f1f4
Merge pull request #928 from chef/chris-rock/compliance-plugin-tests
...
fix integration tests for Chef Compliance
2016-08-17 16:59:01 +02:00
Christoph Hartmann
96754cac6c
fix integration tests for Chef Compliance
2016-08-17 13:51:26 +02:00
Christoph Hartmann
775d41a08c
Merge pull request #907 from chrisevett/master
...
Add iis_site resource
2016-08-17 13:24:01 +02:00
Chris Evett
3df98b7a19
add iis_site tests and refactor post code review
2016-08-17 06:57:48 -04:00
Chris Evett
4d63afc1f8
add documentation to resources.rst for iis_site and fix comment
2016-08-17 06:57:48 -04:00
Chris Evett
7f9fbc6cce
add iis_site resource
2016-08-17 06:57:48 -04:00
Christoph Hartmann
968e87b6e3
Merge pull request #846 from chef/chris-rock/fix-xinetd-single-entry
...
Handle xinetd config with only one entry
2016-08-17 09:37:28 +02:00
Christoph Hartmann
c23263f3d0
handle xinetd config with only one entry
2016-08-16 17:23:22 +02:00
Dominik Richter
6eac8e2ddb
Merge pull request #924 from chef/dr/remove-tests
...
remove tests and dev dependencies from released gem
2016-08-16 06:28:59 -07:00
Christoph Hartmann
2b27049144
Merge pull request #922 from chef/chris-rock/kitchen-chef-images
...
add kitchen.yml for non-public kitchen boxes
2016-08-16 15:25:19 +02:00
Dominik Richter
161bd637f3
move mocha to test group in Gemfile
...
group test gems together.
2016-08-16 06:20:42 -07:00
Dominik Richter
11933ef305
remove tests and tasks from release gems
...
Developers use the github repo to get full access to the development of this gem. The fixed (non git-ls-files) approach to packaging files has led to a 30mb gem recently, this will prevent that from happening again.
2016-08-16 06:20:42 -07:00
Christoph Hartmann
e90b237d7a
add kitchen.yml for non-public kitchen boxes
2016-08-16 14:54:29 +02:00
Christoph Hartmann
c43f3fe155
Merge pull request #920 from chef/ssd/issue-725
...
Ignore comment lines in /etc/passwd
2016-08-16 11:06:12 +02:00
Steven Danna
b5cd64d16a
Ignore comment lines in /etc/passwd
...
Most passwd/shadow implementations treat lines that start with '#' as
comments. For example, the implementation in OS X:
if (buf[0] == '#') {
/* skip comments for Rhapsody. */
continue;
}
https://opensource.apple.com/source/remote_cmds/remote_cmds-41/rpc_yppasswdd.tproj/passwd.c
Fixes #725
Signed-off-by: Steven Danna <steve@chef.io>
2016-08-16 10:54:52 +02:00
Christoph Hartmann
cdfa8f720d
Merge pull request #919 from chef/vj/case-insens-ssh-conf
...
ssh_config parse should be case insensitive
2016-08-16 10:11:14 +02:00
Victoria Jeffrey
6f198f539b
cleanup
2016-08-16 10:01:10 +02:00
Victoria Jeffrey
cf771ab967
ssh_config parse should be case insensitive
2016-08-16 10:01:10 +02:00
Christoph Hartmann
b86c1bd4c5
Merge pull request #914 from chef/dr/ssl
...
add ssl resource (early access)
2016-08-15 17:20:50 +02:00