Skip to content

Instantly share code, notes, and snippets.

@stephenlauck
Created August 20, 2020 22:41
chef-inspec-run
stephen@meerkat:~/dev/chef/audit$ kitchen converge chef-assert-centos-7
-----> Starting Test Kitchen (v2.4.0)
-----> Converging <chef-assert-centos-7>...
Preparing files for transfer
Preparing dna.json
Resolving cookbook dependencies with Berkshelf 7.0.9...
Removing non-cookbook files before transfer
Preparing validation.pem
Preparing client.rb
-----> Chef installation detected (install only if missing)
Transferring files to <chef-assert-centos-7>
Starting Chef Infra Client, version 16.4.41
resolving cookbooks for run list: ["audit::chef-assert"]
Synchronizing Cookbooks:
- audit (9.5.0)
Installing Cookbook Gems:
Compiling Cookbooks...
Recipe: audit::chef-assert
* yum_package[git] action install (up to date)
Cloning into 'linux-baseline'...
Converging 56 resources
* yum_package[git] action nothing (skipped due to action :nothing)
* execute[os-01] action run
- execute echo "Control os-01 failed and no remediation is available."
* execute[os-02] action run
- execute echo "Control os-02 failed and no remediation is available."
* execute[os-03] action run (skipped due to not_if)
* execute[os-03b] action run (skipped due to not_if)
* execute[os-04] action run (skipped due to not_if)
* execute[os-05] action run
- execute echo "Control os-05 failed and no remediation is available."
* execute[os-05b] action run
- execute echo "Control os-05b failed and no remediation is available."
* execute[os-06] action run
- execute echo "Control os-06 failed and no remediation is available."
* execute[os-07] action run (skipped due to not_if)
* execute[os-08] action run (skipped due to not_if)
* execute[os-09] action run (skipped due to not_if)
* execute[os-10] action run
- execute echo "Control os-10 failed and no remediation is available."
* execute[os-11] action run (skipped due to not_if)
* execute[package-01] action run (skipped due to not_if)
* execute[package-02] action run (skipped due to not_if)
* execute[package-03] action run (skipped due to not_if)
* execute[package-05] action run (skipped due to not_if)
* execute[package-06] action run (skipped due to not_if)
* execute[package-07] action run
- execute echo "Control package-07 failed and no remediation is available."
* execute[package-08] action run
- execute echo "Control package-08 failed and no remediation is available."
* execute[package-09] action run (skipped due to not_if)
* execute[sysctl-01] action run
- execute echo "Control sysctl-01 failed and no remediation is available."
* execute[sysctl-02] action run
- execute echo "Control sysctl-02 failed and no remediation is available."
* execute[sysctl-03] action run
- execute echo "Control sysctl-03 failed and no remediation is available."
* execute[sysctl-04] action run
- execute echo "Control sysctl-04 failed and no remediation is available."
* execute[sysctl-05] action run
- execute echo "Control sysctl-05 failed and no remediation is available."
* execute[sysctl-06] action run
- execute echo "Control sysctl-06 failed and no remediation is available."
* execute[sysctl-07] action run
- execute echo "Control sysctl-07 failed and no remediation is available."
* execute[sysctl-08] action run
- execute echo "Control sysctl-08 failed and no remediation is available."
* execute[sysctl-09] action run
- execute echo "Control sysctl-09 failed and no remediation is available."
* execute[sysctl-10] action run
- execute echo "Control sysctl-10 failed and no remediation is available."
* execute[sysctl-11] action run
- execute echo "Control sysctl-11 failed and no remediation is available."
* execute[sysctl-12] action run
- execute echo "Control sysctl-12 failed and no remediation is available."
* execute[sysctl-13] action run
- execute echo "Control sysctl-13 failed and no remediation is available."
* execute[sysctl-14] action run
- execute echo "Control sysctl-14 failed and no remediation is available."
* execute[sysctl-15] action run
- execute echo "Control sysctl-15 failed and no remediation is available."
* execute[sysctl-16] action run
- execute echo "Control sysctl-16 failed and no remediation is available."
* execute[sysctl-17] action run
- execute echo "Control sysctl-17 failed and no remediation is available."
* execute[sysctl-18] action run
- execute echo "Control sysctl-18 failed and no remediation is available."
* execute[sysctl-19] action run
- execute echo "Control sysctl-19 failed and no remediation is available."
* execute[sysctl-20] action run
- execute echo "Control sysctl-20 failed and no remediation is available."
* execute[sysctl-21] action run
- execute echo "Control sysctl-21 failed and no remediation is available."
* execute[sysctl-22] action run
- execute echo "Control sysctl-22 failed and no remediation is available."
* execute[sysctl-23] action run
- execute echo "Control sysctl-23 failed and no remediation is available."
* execute[sysctl-24] action run
- execute echo "Control sysctl-24 failed and no remediation is available."
* execute[sysctl-25] action run
- execute echo "Control sysctl-25 failed and no remediation is available."
* execute[sysctl-26] action run
- execute echo "Control sysctl-26 failed and no remediation is available."
* execute[sysctl-27] action run
- execute echo "Control sysctl-27 failed and no remediation is available."
* execute[sysctl-28] action run
- execute echo "Control sysctl-28 failed and no remediation is available."
* execute[sysctl-29] action run
- execute echo "Control sysctl-29 failed and no remediation is available."
* execute[sysctl-30] action run
- execute echo "Control sysctl-30 failed and no remediation is available."
* execute[sysctl-31a] action run
- execute echo "Control sysctl-31a failed and no remediation is available."
* execute[sysctl-31b] action run
- execute echo "Control sysctl-31b failed and no remediation is available."
* execute[sysctl-32] action run
- execute echo "Control sysctl-32 failed and no remediation is available."
* execute[sysctl-33] action run
- execute echo "Control sysctl-33 failed and no remediation is available."
Running handlers:
Running handlers complete
Chef Infra Client finished, 42/57 resources updated in 01 minutes 12 seconds
Downloading files from <chef-assert-centos-7>
Finished converging <chef-assert-centos-7> (1m16.34s).
-----> Test Kitchen is finished. (1m17.93s)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment