Skip to content

Instantly share code, notes, and snippets.

@afiune
Created May 18, 2017 20:52
Show Gist options
  • Select an option

  • Save afiune/a6a00e5a7b7e59699afdcfd46ae1d12b to your computer and use it in GitHub Desktop.

Select an option

Save afiune/a6a00e5a7b7e59699afdcfd46ae1d12b to your computer and use it in GitHub Desktop.
ChefDK 1.4.1 Test
➜ sandbox chef -v
Chef Development Kit Version: 1.4.1
chef-client version: 12.19.36
delivery version: master (41b94ffb5efd33723cf72a89bf4d273c8151c9dc)
berks version: 5.6.4
kitchen version: 1.16.0
inspec version: 1.25.0
➜ sandbox chef generate cookbook foo
Generating cookbook foo
- Ensuring correct cookbook file content
- Committing cookbook files to git
- Ensuring delivery configuration
- Ensuring correct delivery build cookbook content
- Adding delivery configuration to feature branch
- Adding build cookbook to feature branch
- Merging delivery content feature branch to master
Your cookbook is ready. To setup the pipeline, type `cd foo`, then run `delivery init`
➜ sandbox cd foo
➜ foo git:(master) chef exec cookstyle
Inspecting 6 files
......
6 files inspected, no offenses detected
➜ foo git:(master) chef exec foodcritic .
FC064: Ensure issues_url is set in metadata: ./metadata.rb:1
FC065: Ensure source_url is set in metadata: ./metadata.rb:1
➜ foo git:(master) chef exec kitchen list
WARN: Unresolved specs during Gem::Specification.reset:
winrm (~> 2.0)
logging (< 3.0, >= 1.6.1)
docker-api (~> 1.26)
rainbow (~> 2)
rspec (~> 3)
unf_ext (>= 0)
diff-lcs (< 2.0, >= 1.2.0)
WARN: Clearing out unresolved specs.
Please report a bug if this causes problems.
Instance Driver Provisioner Verifier Transport Last Action Last Error
default-ubuntu-1604 Vagrant ChefZero Inspec Ssh <Not Created> <None>
default-centos-73 Vagrant ChefZero Inspec Ssh <Not Created> <None>
➜ foo git:(master) chef exec delivery local verify
Chef Delivery
Running Verify Stage
Running Lint Phase
Inspecting 6 files
......
6 files inspected, no offenses detected
Running Syntax Phase
Running Unit Phase
.
Finished in 5.79 seconds (files took 3.95 seconds to load)
1 example, 0 failures
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment