diff options
author | Vik Bhatti <vik@vikbhatti.com> | 2014-04-08 13:45:33 +0100 |
---|---|---|
committer | Vik Bhatti <vik@vikbhatti.com> | 2014-04-08 13:45:33 +0100 |
commit | 9c1bc0825f3ebbe8473d3691bdc8c18f31fae12b (patch) | |
tree | a7cd92c401d9c336e27651b66fdd9d920d4c2eaa /manifests/pip.pp | |
parent | 750d3538929316df9e18481a01acc0c7dc4de2dd (diff) |
Fixed various linting issues
Diffstat (limited to 'manifests/pip.pp')
-rw-r--r-- | manifests/pip.pp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/manifests/pip.pp b/manifests/pip.pp index 8bd21d3..98b6fac 100644 --- a/manifests/pip.pp +++ b/manifests/pip.pp @@ -57,7 +57,7 @@ define python::pip ( $cwd = $virtualenv ? { 'system' => '/', - default => "${virtualenv}", + default => $virtualenv, } $pip_env = $virtualenv ? { @@ -88,8 +88,8 @@ define python::pip ( case $ensure { present: { exec { "pip_install_${name}": - command => "$pip_env --log-file ${cwd}/pip.log install $install_args ${proxy_flag} ${source}", - unless => "$pip_env freeze | grep -i -e ${grep_regex}", + command => "${pip_env} --log-file ${cwd}/pip.log install ${install_args} ${proxy_flag} ${source}", + unless => "${pip_env} freeze | grep -i -e ${grep_regex}", user => $owner, environment => $environment, } @@ -97,8 +97,8 @@ define python::pip ( default: { exec { "pip_uninstall_${name}": - command => "echo y | $pip_env uninstall $uninstall_args ${proxy_flag} ${name}", - onlyif => "$pip_env freeze | grep -i -e ${grep_regex}", + command => "echo y | ${pip_env} uninstall ${uninstall_args} ${proxy_flag} ${name}", + onlyif => "${pip_env} freeze | grep -i -e ${grep_regex}", user => $owner, environment => $environment, } |