Skip to content

Commit

Permalink
Ubuntu 18.04 can't install python-software-properties
Browse files Browse the repository at this point in the history
  • Loading branch information
neill.turner committed Jul 23, 2019
1 parent 27d6f87 commit 406f58a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/kitchen/provisioner/ansible/os/debian.rb
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,9 @@ def install_command
#{sudo_env('apt-get')} -y install software-properties-common
## 10.04, 12.04 include add-apt-repository in
#{sudo_env('apt-get')} -y install python-software-properties
if [apt-cache pkgnames | grep -q 'python-software-properties']; then
#{sudo_env('apt-get')} -y install python-software-properties
fi
## 10.04 version of add-apt-repository doesn't accept --yes
## later versions require interaction from user, so we must specify --yes
Expand Down

0 comments on commit 406f58a

Please sign in to comment.