Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using tags/versioning for supermarket inspec profiles #134

Closed
marcomancuso opened this issue May 5, 2017 · 1 comment
Closed

Using tags/versioning for supermarket inspec profiles #134

marcomancuso opened this issue May 5, 2017 · 1 comment

Comments

@marcomancuso
Copy link

marcomancuso commented May 5, 2017

Inspec profiles don't seem to be versionable in Chef-Supermarket.
It should be possible to pin a specific version of the supermarket profile in .kitchen:

suites:
  - name: mysuite
    verifier:
      inspec_tests:
        - name: example/myprofile
          tag: v1.0

Error is:

Could not fetch inspec profile in {:name=>"example/myprofile", :tag=>"v1.0"}.

Similar issue even using the version defined in .inspec.yaml

Could not fetch inspec profile in {:name=>"example/myprofile", :version=>"1.0.0"}.

It seems to be only possible when git instead:

suites:
  - name: mysuite
    verifier:
      inspec_tests:
        - git: https://github.com/sexample/myprofile
          tag: v1.0
@adamleff
Copy link
Contributor

@marcomancuso thanks for submitting this issue, and sorry for the delay. This would be a feature enhancement request for InSpec core itself, not kitchen-inspec. I've opened a new issue (inspec/inspec#2165) to track this request. Please feel free to subscribe to that issue for future updates. I'm going to close this issue in favor of the new one. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants