]> git.immae.eu Git - perso/Immae/Projets/Puppet.git/commitdiff
Add upgrade to pip command for caldance
authorIsmaël Bouya <ismael.bouya@normalesup.org>
Tue, 9 Apr 2019 14:18:10 +0000 (16:18 +0200)
committerIsmaël Bouya <ismael.bouya@normalesup.org>
Tue, 9 Apr 2019 14:18:10 +0000 (16:18 +0200)
modules/role/manifests/caldance.pp

index b5f4d067bf1e16f6617390aebf133ef3e6beef24..8d37df0f1b5eb44d9ef463932575461952c343ba 100644 (file)
@@ -86,7 +86,7 @@ class role::caldance (
     cwd         => $caldance_app,
     user        => $user,
     environment => concat(["HOME=${home}"], $shell_env),
-    command     => "/usr/bin/sed -i -e '/GDAL/d' requirements.txt && ${home}/virtualenv/bin/pip install -r requirements.txt",
+    command     => "/usr/bin/sed -i -e '/GDAL/d' requirements.txt && ${home}/virtualenv/bin/pip install -r requirements.txt --upgrade",
     require     => User["$user:"],
     refreshonly => true,
   } ~>