Skip to content

Commit

Permalink
Merge pull request #386 from waipeng/master
Browse files Browse the repository at this point in the history
Support virtualenv for Ubuntu 16.04
  • Loading branch information
stankevich authored Apr 28, 2018
2 parents fec4b21 + 56845bb commit 9a1103d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ This module has been tested to work on the following systems.
* Ubuntu 10.04
* Ubuntu 12.04
* Ubuntu 14.04
* Ubuntu 16.04

===

Expand Down
2 changes: 2 additions & 0 deletions manifests/install.pp
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,8 @@
} else {
if $::lsbdistcodename == 'jessie' {
$virtualenv_package = 'virtualenv'
} elsif $::lsbdistcodename == 'xenial' {
$virtualenv_package = 'virtualenv'
} elsif $::osfamily == 'Gentoo' {
$virtualenv_package = 'virtualenv'
} else {
Expand Down
3 changes: 2 additions & 1 deletion metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@
"operatingsystemrelease": [
"10.04",
"12.04",
"14.04"
"14.04",
"16.04"
]
},
{
Expand Down

0 comments on commit 9a1103d

Please sign in to comment.