Skip to content

Commit

Permalink
Support virtualenv for Ubuntu 16.04
Browse files Browse the repository at this point in the history
  • Loading branch information
waipeng committed Apr 5, 2018
1 parent 65ed307 commit f6720bb
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
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
1 change: 1 addition & 0 deletions metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
"10.04",
"12.04",
"14.04"
"16.04"
]
},
{
Expand Down

0 comments on commit f6720bb

Please sign in to comment.