jrbeilke / packer-provisioner-inspec

Packer plugin to add InSpec as a provisioner
18 stars 4 forks source link

test_path requires a test file and will fail if a test profile dir is passed instead #4

Closed jrbeilke closed 6 years ago

jrbeilke commented 6 years ago

The plugin currently attempts to validate the provided test_path by using validateFileConfig() and will fail if a directory is provided instead of a test file.

    {
      "test_path": "inspec_test",
      "type": "inspec"
    }
* test_path: inspec_test must point to a file