diff --git a/CHANGELOG.md b/CHANGELOG.md index 247fbc4d..1e5de355 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,7 @@ cred: , helix_sheet_id: } +* MI-183 `install-cwlogs` recipe needs to install latest version of pip ## v2.13.0 - 1/21/2020 diff --git a/recipes/install-cwlogs.rb b/recipes/install-cwlogs.rb index a14427d3..ce3973f1 100644 --- a/recipes/install-cwlogs.rb +++ b/recipes/install-cwlogs.rb @@ -30,6 +30,13 @@ mode '0755' end +execute 'Upgrade to latest pip' do + command %Q|pip install -U pip virtualenv| + retries 5 + retry_delay 15 + timeout 300 +end + execute 'Install CloudWatch Logs agent' do command %Q|/opt/aws/cloudwatch/awslogs-agent-setup.py -n -r #{region} -c /tmp/cwlogs.conf| retries 2