test-kitchen: provision Cinc Client instead of Chef Infra Client
Set `product_name: cinc` on the dokken provisioner so kitchen-dokken uses cincproject/cinc and skips the Chef license prompt, and pin chef_version where it was missing.
This commit is contained in:
6 files changed
+11
-8
No files matched your search
@@ -14,6 +14,7 @@ transport:
|
||||
|
||||
provisioner:
|
||||
name: dokken
|
||||
product_name: cinc
|
||||
client_rb:
|
||||
# the ejabberd package starts its service as ejabberd@localhost during
|
||||
# installation; keep the chef node name in sync so ERLANG_NODE matches
|
||||
|
||||
@@ -25,10 +25,8 @@ provisioner:
|
||||
# always_update_cookbooks: <%= !ENV['CI'] %>
|
||||
# always_update_cookbooks: false
|
||||
|
||||
## product_name and product_version specifies a specific Chef product and version to install.
|
||||
## see the Chef documentation for more details: https://docs.chef.io/workstation/config_yml_kitchen/
|
||||
# product_name: chef
|
||||
# product_version: 16
|
||||
# install Cinc Client instead of the license-gated Chef Infra Client
|
||||
product_name: cinc
|
||||
|
||||
verifier:
|
||||
name: inspec
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
---
|
||||
driver:
|
||||
name: dokken
|
||||
chef_version: 18.2.7
|
||||
pull_platform_image: false
|
||||
pull_chef_image: false
|
||||
memory_limit: 2147483648 # 2GB
|
||||
@@ -10,6 +11,7 @@ transport:
|
||||
|
||||
provisioner:
|
||||
name: dokken
|
||||
product_name: cinc
|
||||
clean_dokken_sandbox: false
|
||||
client_rb:
|
||||
environment: testing
|
||||
|
||||
@@ -1,10 +1,12 @@
|
||||
---
|
||||
driver:
|
||||
name: dokken
|
||||
chef_version: 18.2.7
|
||||
privileged: true # allows systemd services to start
|
||||
|
||||
provisioner:
|
||||
name: dokken
|
||||
product_name: cinc
|
||||
|
||||
transport:
|
||||
name: dokken
|
||||
|
||||
@@ -25,10 +25,8 @@ provisioner:
|
||||
# always_update_cookbooks: <%= !ENV['CI'] %>
|
||||
# always_update_cookbooks: false
|
||||
|
||||
## product_name and product_version specifies a specific Chef product and version to install.
|
||||
## see the Chef documentation for more details: https://docs.chef.io/workstation/config_yml_kitchen/
|
||||
# product_name: chef
|
||||
# product_version: 16
|
||||
# install Cinc Client instead of the license-gated Chef Infra Client
|
||||
product_name: cinc
|
||||
|
||||
verifier:
|
||||
name: inspec
|
||||
|
||||
@@ -1,10 +1,12 @@
|
||||
---
|
||||
driver:
|
||||
name: dokken
|
||||
chef_version: 18.2.7
|
||||
privileged: true # allows systemd services to start
|
||||
|
||||
provisioner:
|
||||
name: dokken
|
||||
product_name: cinc
|
||||
|
||||
transport:
|
||||
name: dokken
|
||||
|
||||
Reference in new issue
Block a user