Skip to content

Commit

Permalink
Use custom chef install URL to resolve Ubuntu dpkg lock issue
Browse files Browse the repository at this point in the history
Issue is reported in chef/bento#609
Using custom chef URL instead of default one (https://www.chef.io/chef/install.sh)
we are able to skip the error "dpkg: error: dpkg status database is locked by another process"

Signed-off-by: Luca Carrogu <carrogu@amazon.com>
  • Loading branch information
lukeseawalker committed Apr 30, 2019
1 parent c0556ec commit 4e705e4
Show file tree
Hide file tree
Showing 2 changed files with 795 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .kitchen.cloud.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ driver_config:
provisioner:
name: chef_zero
require_chef_omnibus: 14.2.0
# use custom chef install URL to cope with issue https://github.com/chef/bento/issues/609
chef_omnibus_url: https://raw.githubusercontent.com/aws/aws-parallelcluster-cookbook/develop/util/chef-install.sh
retry_on_exit_code:
- 35 # 35 is the exit code signaling that the node is rebooting
max_retries: 1
Expand Down
Loading

0 comments on commit 4e705e4

Please sign in to comment.