Skip to content

Commit

Permalink
updated to use @ekohl nits
Browse files Browse the repository at this point in the history
  • Loading branch information
dquacken committed Aug 14, 2018
1 parent 54c7535 commit ae76b60
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions manifests/install.pp
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,9 @@
default => $python::virtualenv,
}

if ($venv_ensure == 'present') {
if $venv_ensure == 'present' {
$dev_ensure = 'present'
if ! $python::dev {
unless $python::dev {
# Error: python2-devel is needed by (installed) python-virtualenv-15.1.0-2.el7.noarch
# Python dev is required for virtual environment, but python environment is not required for python dev.
notify { 'Python virtual environment is dependent on python dev': }
Expand Down

0 comments on commit ae76b60

Please sign in to comment.