Skip to content

Commit

Permalink
Merge pull request #73 from giavac/master
Browse files Browse the repository at this point in the history
Don't try to reinstall pip packages on every Puppet run #59
  • Loading branch information
stankevich committed Mar 18, 2014
2 parents dc22e7a + a992ba2 commit b42153c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions manifests/pip.pp
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@
# Latest version.
exec { "pip_install_${name}":
command => "${pip_env} wheel --help > /dev/null 2>&1 && { ${pip_env} wheel --version > /dev/null 2>&1 || wheel_support_flag='--no-use-wheel'; } ; ${pip_env} --log ${cwd}/pip.log install --upgrade \$wheel_support_flag ${proxy_flag} ${source}",
unless => "${pip_env} search ${source} | grep -i INSTALLED | grep -i latest",
user => $owner,
environment => $environment,
path => ['/usr/local/bin','/usr/bin','/bin', '/usr/sbin'],
Expand Down

0 comments on commit b42153c

Please sign in to comment.