Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inspec doesn't read controls #351

Closed
srenatus opened this issue Jan 7, 2016 · 0 comments
Closed

Inspec doesn't read controls #351

srenatus opened this issue Jan 7, 2016 · 0 comments
Labels
Type: Bug Feature not working as expected

Comments

@srenatus
Copy link
Contributor

srenatus commented Jan 7, 2016

What used to be

$ inspec check base_linux 
I, [2015-12-31T12:55:37.496650 #86922]  INFO -- : Checking profile in base_linux
W, [2015-12-31T12:55:37.496768 #86922]  WARN -- : The use of `metadata.rb` is deprecated. Use `inspec.yml`.
I, [2015-12-31T12:55:37.496801 #86922]  INFO -- : Metadata OK.
D, [2015-12-31T12:55:37.496887 #86922] DEBUG -- : Found 45 rules.
D, [2015-12-31T12:55:37.496904 #86922] DEBUG -- : Verify all rules in  base_linux/tests/filesystem_spec.rb
D, [2015-12-31T12:55:37.496923 #86922] DEBUG -- : Verify all rules in  base_linux/tests/sysctl_ipv4_spec.rb
D, [2015-12-31T12:55:37.496956 #86922] DEBUG -- : Verify all rules in  base_linux/tests/sysctl_ipv6_spec.rb
D, [2015-12-31T12:55:37.496974 #86922] DEBUG -- : Verify all rules in  base_linux/tests/sysctl_spec.rb

is now

$ inspec check base_linux
I, [2016-01-07T13:10:11.392420 #14414]  INFO -- : Checking profile in base_linux/
W, [2016-01-07T13:10:11.392544 #14414]  WARN -- : Missing profile maintainer in inspec.yml
W, [2016-01-07T13:10:11.392592 #14414]  WARN -- : No controls or tests were defined.

This is wrong.

@srenatus srenatus added the Type: Bug Feature not working as expected label Jan 7, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Feature not working as expected
Projects
None yet
Development

No branches or pull requests

1 participant