Skip to content

Commit

Permalink
Added the URL for github workflows
Browse files Browse the repository at this point in the history
Signed-off-by: Ashique Saidalavi <[email protected]>
  • Loading branch information
ashiqueps committed Nov 6, 2024
1 parent 2d455b3 commit 941ce7d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions kitchen.dokken.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ driver:
provisioner:
name: dokken
chef_license: accept-no-persist
chef_license_server:
- http://hosted-license-service-lb-8000-606952349.us-west-2.elb.amazonaws.com:8000/

transport:
name: dokken
Expand Down
4 changes: 4 additions & 0 deletions lib/kitchen/provisioner/chef_infra.rb
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,10 @@ def check_license
super

info("Fetching the Chef license key")
unless config[:chef_license_server].nil? || config[:chef_license_server].empty?
ENV["CHEF_LICENSE_SERVER"] = config[:chef_license_server].join(",")
end

key, type, install_sh_url = if config[:chef_license_key].nil?
Licensing::Base.get_license_keys
else
Expand Down

0 comments on commit 941ce7d

Please sign in to comment.