Skip to content

Latest commit

 

History

History
44 lines (32 loc) · 1.13 KB

File metadata and controls

44 lines (32 loc) · 1.13 KB

Requirements

These recipes now firmly require client version 16.5 or above, thanks to branding changes.

Recipes are expected to work on Debian "Buster" (10) and Ubuntu "Focal" (20.04 LTS)

Test-Kitchen Quick Start

  1. Install CINC-workstation.
    https://cinc.sh/start/workstation/

  2. Validate the test-kitchen configuration.

/opt/cinc-workstation/bin/kitchen list
  1. Try to converge both Ubuntu and Debian VMs with a default runlist from the stub Policyfile.rb :
/opt/cinc-workstation/bin/kitchen setup -c 2 default

Deployment

  1. Install CINC-workstation on the workstation
    https://cinc.sh/start/workstation/

  2. Install CINC-client on the target
    https://cinc.sh/start/client

  3. Using the workstation, export to a directory:

/opt/cinc-workstation/bin/cinc export /tmp/chef-desktop
  1. Copy that directory from the workstation to the target

  2. On the target, converge a default runlist with the generated config:

/opt/cinc/bin/cinc-client -c .chef/config.rb -z
  1. Or, converge a named runlist specified in Policyfile.rb:
/opt/cinc/bin/cinc-client -c .chef/config.rb -z -n wine