mirror of
https://github.com/inspec/inspec
synced 2024-11-23 13:13:22 +00:00
4f34e3eb83
* Add support for virtualization resource Signed-off-by: Takaaki Furukawa <takaaki.frkw@gmail.com> * Add some methods and documentation Signed-off-by: Takaaki Furukawa <takaaki.frkw@gmail.com> * Refactor collect_data_linux method Signed-off-by: Takaaki Furukawa <takaaki.frkw@gmail.com> * Remove unnecessary hash from virtualization resource and update examples Signed-off-by: Takaaki Furukawa <takaaki.frkw@gmail.com>
7 lines
166 B
Ruby
7 lines
166 B
Ruby
# encoding: utf-8
|
|
if ENV['DOCKER'] && os.linux?
|
|
describe virtualization do
|
|
its('system') { should eq 'docker' }
|
|
its('role') { should eq 'guest' }
|
|
end
|
|
end
|