mirror of
https://github.com/inspec/inspec
synced 2024-11-23 13:13:22 +00:00
c626dfdbd9
* Added CPAN resource to check Perl modules control 'cpan-1' do impact 1.0 desc ' Ensure Perl modules DBI and DBD::Pg are installed. ' describe cpan('DBI') do it { should be_installed } end describe cpan('DBD::Pg') do it { should be_installed } its('version') { should cmp >= '3.0' } end end Signed-off-by: Markus Grobelin <grobi@koppzu.de> * cpan resource: fixed unit test for non-installed module Signed-off-by: Markus Grobelin <grobi@koppzu.de> |
||
---|---|---|
.. | ||
cookbooks/os_prepare | ||
functional | ||
integration | ||
unit | ||
docker_run.rb | ||
docker_test.rb | ||
helper.rb |