Skip to content

Commit 4f2585c

Browse files
committed
Use custom chef install URL to resolve Ubuntu dpkg lock issue
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>
1 parent c0556ec commit 4f2585c

File tree

2 files changed

+795
-0
lines changed

2 files changed

+795
-0
lines changed

.kitchen.cloud.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ driver_config:
1616
provisioner:
1717
name: chef_zero
1818
require_chef_omnibus: 14.2.0
19+
# use custom chef install URL to cope with issue https://github.com/chef/bento/issues/609
20+
chef_omnibus_url: https://raw.githubusercontent.com/aws/aws-parallelcluster-cookbook/develop/util/chef-install.sh
1921
retry_on_exit_code:
2022
- 35 # 35 is the exit code signaling that the node is rebooting
2123
max_retries: 1

0 commit comments

Comments
 (0)