Open jquick opened 6 years ago
Update the code that executes the inspec cli to pass in the --no-distinct-exit, this will change the inspec cli to have the previous behavior where a successful pass always exists with 0 even if controls are skipped. https://github.com/chef-cookbooks/delivery-sugar/blob/f7f33c751401be51316a51fef2db31b6a0907cbb/libraries/delivery_inspec.rb#L112 and https://github.com/chef-cookbooks/delivery-sugar/blob/f7f33c751401be51316a51fef2db31b6a0907cbb/libraries/delivery_inspec.rb#L139
Update the code that executes the inspec cli to pass in the --no-distinct-exit, this will change the inspec cli to have the previous behavior where a successful pass always exists with 0 even if controls are skipped. https://github.com/chef-cookbooks/delivery-sugar/blob/f7f33c751401be51316a51fef2db31b6a0907cbb/libraries/delivery_inspec.rb#L112 and https://github.com/chef-cookbooks/delivery-sugar/blob/f7f33c751401be51316a51fef2db31b6a0907cbb/libraries/delivery_inspec.rb#L139