Skip to content

Commit 39fdc52

Browse files
committed
Pin awscli version on Ubuntu14
This is done in order to pin botocore to version 1.10.84 which doesn't break the cloud-init package installed into the OS The package version that need to be preserved is urllib3 awscli -> botocore -> urllib3 cloud-init -> urllib3 The version of the awscli from repository depends on an old version of botocore that does not work with newest regions. Signed-off-by: Luca Carrogu <[email protected]>
1 parent 67ae5f4 commit 39fdc52

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

recipes/base_install.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,9 +69,9 @@
6969

7070
# Install AWSCLI
7171
if node['platform'] == 'ubuntu' && node['platform_version'] == "14.04"
72-
package 'awscli' do
73-
retries 3
74-
retry_delay 5
72+
# For Ubuntu 14 manually install dependencies, in order to not break cloud-init
73+
python_package 'awscli' do
74+
version '1.15.85' # This imply botocore 1.10.84 which does not require urllib3
7575
end
7676
else
7777
python_package 'awscli'

0 commit comments

Comments
 (0)