Commit graph

6151 commits

Author SHA1 Message Date
Clinton Wolfe
e0fe3f1876 Add version to list of exempt commands
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-04-11 10:30:46 -04:00
Clinton Wolfe
30e5c39e74 tmpdir and mktmpdir are two verry different things
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-04-11 10:30:46 -04:00
Clinton Wolfe
023bfefc67 Add ungated invocations
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-04-11 10:30:46 -04:00
Clinton Wolfe
7d81f93496 Add test for interactively answering no
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-04-11 10:30:46 -04:00
Clinton Wolfe
fb73b39976 Add tests for interactively answering yes
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-04-11 10:30:46 -04:00
Clinton Wolfe
2f3adf6176 Add tests for when persistence file already exists
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-04-11 10:30:46 -04:00
Clinton Wolfe
1c9533087d Test when --accept-license is used
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-04-11 10:30:46 -04:00
Clinton Wolfe
e3857a8783 Sketch of functional test
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-04-11 10:30:46 -04:00
Clinton Wolfe
d41dc48afa If the license was accepted only for testing, delete it at exit
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-04-11 10:30:46 -04:00
Clinton Wolfe
71c13f38a4 Make functional and integration tests assume the license has been accepted
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-04-11 10:30:46 -04:00
Clinton Wolfe
07a1679086 Customize behavior when the license challenge fails
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-04-11 10:29:27 -04:00
tyler-ball
96edf5394f Fully leveraging latest set of license acceptance library features
Signed-off-by: tyler-ball <tball@chef.io>
2019-04-11 10:29:27 -04:00
Clinton Wolfe
47da04f4e0 Alter require to use snakecase library name
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-04-11 10:27:48 -04:00
Clinton Wolfe
e3c9c019e3 Add basic integration for the acceptance lib
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-04-11 10:27:48 -04:00
Clinton Wolfe
e87b71d2f1 Merge branch 'master' of github.com:inspec/inspec 2019-04-11 10:19:15 -04:00
Miah Johnson
acead4dd40 Remove doc line.
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-04-11 00:42:26 -07:00
Miah Johnson
61e639e2fe Move @data creation to initialize.
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-04-11 00:41:51 -07:00
Miah Johnson
ac78feb090 Remove list_data_series_by_name.
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-04-11 00:41:09 -07:00
Clinton Wolfe
46f6513884 Also test 3-stable on Travis
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-04-10 13:23:51 -04:00
Miah Johnson
56a5c80bf5 Rebuild the core telemetry interface.
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-04-09 16:58:40 -07:00
Chef Expeditor
36de42401e
Update CHANGELOG.md with details from pull request #3927
Obvious fix; these changes are the result of automation not creative thinking.
2019-04-09 20:51:11 +00:00
Clinton Wolfe
b513bfa76f
Merge pull request #3927 from inspec/cw/fix-winrm-kerberos
Fix winrm no-such-transport test
2019-04-09 16:50:56 -04:00
Clinton Wolfe
d181098249
Merge pull request #3925 from inspec/cw/fix-version-freeze
Freeze version to appease rubocop
2019-04-09 15:50:40 -04:00
Clinton Wolfe
6ca37e6b79
Merge pull request #3926 from inspec/cw/disable-func-test-warnings
Disable warnings for functional tests
2019-04-09 15:50:12 -04:00
Clinton Wolfe
066ed01259 Update winrm no-such-transport test to not use kerberos, which we do now support
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-04-09 15:43:37 -04:00
Clinton Wolfe
71cc147c58 Disable warnings for functional tests
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-04-09 15:25:14 -04:00
Clinton Wolfe
a83401c932 Freeze version to appease rubocop
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-04-09 14:00:46 -04:00
Clinton Wolfe
2b30646642 Merge branch 'cw/attrs-rename-cli-option' into 3-stable 2019-04-09 12:10:53 -04:00
Chef Expeditor
4648018f1d
Bump version to 4.0.4 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-04-09 15:46:50 +00:00
Clinton Wolfe
b701317616
Merge pull request #3879 from inspec/cw/attrs-rename-cli-option
Attribute->Input Rename: Rename cli option
2019-04-09 11:46:29 -04:00
Chef Expeditor
04242abe61
Bump version to 4.0.3 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-04-08 22:23:05 +00:00
Clinton Wolfe
4c1b3de2d9
Merge pull request #3910 from inspec/platform_testing
Remove EOL Ubuntu / macOS platform testing
2019-04-08 18:22:50 -04:00
Clinton Wolfe
aac505bea6 Backport #3924 to v3
Merge branch 'cw/fix-debian-8' into 3-stable
2019-04-08 17:55:40 -04:00
Clinton Wolfe
ae90bea33d
Merge pull request #3924 from inspec/cw/fix-debian-8
Add -y to all apt-get update commands in integration tests
2019-04-08 17:53:02 -04:00
Clinton Wolfe
0ac26c0b34 Update expeditor release config for v3
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-04-08 15:26:16 -04:00
Clinton Wolfe
84cab416fe Update expeditor release config for v4
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-04-08 15:23:46 -04:00
Chef Expeditor
4a11430e4e Bump version to 4.0.2.pre by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-04-08 15:14:48 -04:00
Stuart Paterson
3f1ed29af8 Address PR feedback, add a comment to inspec.yml.
Signed-off-by: Stuart Paterson <spaterson@chef.io>
2019-04-08 14:30:21 -04:00
Stuart Paterson
549a04bdae Update README with the re-added security group control.
Signed-off-by: Stuart Paterson <spaterson@chef.io>
2019-04-08 14:30:21 -04:00
Stuart Paterson
50a7bc7862 Replace port 22 ingress control.
Signed-off-by: Stuart Paterson <spaterson@chef.io>
2019-04-08 14:30:21 -04:00
Stuart Paterson
41a680270e Update AWS profile generation for InSpec 4 to depend on the new resource pack.
Signed-off-by: Stuart Paterson <spaterson@chef.io>
2019-04-08 14:30:21 -04:00
Chef Expeditor
36eb4459c1 Bump version to 4.0.1.pre by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-04-08 14:30:21 -04:00
Clinton Wolfe
0d38b65d50 Linting
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-04-08 14:28:57 -04:00
Clinton Wolfe
af4d9edd2a Ignore resource overwrite warnings if they are aws resources
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-04-08 14:28:31 -04:00
Clinton Wolfe
82b8638472 Use inspec v3 internally
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-04-08 14:28:31 -04:00
Clinton Wolfe
4b44df8d6e Set version to 4.0.0.pre
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-04-08 14:26:03 -04:00
Clinton Wolfe
ccdd1cfffb Drop aws-sdk 2, move to train 2, add train-aws 0.1
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-04-08 14:24:46 -04:00
Clinton Wolfe
19cccf0c14 Add v4 to Travis temporarily
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-04-08 14:23:33 -04:00
Clinton Wolfe
312803fe22 One less -y, please
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-04-08 14:13:11 -04:00
Clinton Wolfe
84e8d3367a Add -y to all apt-get update commands
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-04-08 14:08:13 -04:00