Browse Source

Merge "Fix subunit2sql install guard for idempotency"

changes/05/647005/1
Zuul 6 months ago
parent
commit
d7ff514c0c
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      manifests/init.pp

+ 1
- 1
manifests/init.pp View File

@@ -50,7 +50,7 @@ class subunit2sql (
50 50
     # deps we've preinstalled from system packages because they lack wheels on
51 51
     # PyPI and must be otherwise rebuilt from sdist instead (specifically
52 52
     # netifaces).
53
-    onlyif  => '/bin/bash -c "test \\"$(pip list --format columns | sed -ne \'s/^subunit2sql\s\+\(.*\)$/\1/p\')\\" != \\"$(pip search \'subunit2sql$\' | sed -ne \'s/^subunit2sql (\(.*\)).*$/\1/p\')\\""',
53
+    onlyif  => '/bin/bash -c "test \\"$(pip list --format columns | sed -ne \'s/^subunit2sql\s\+\([[:digit:].]*\)\s*$/\1/p\')\\" != \\"$(pip search \'subunit2sql$\' | sed -ne \'s/^subunit2sql (\(.*\)).*$/\1/p\')\\""',
54 54
     require => [
55 55
       Class['pip'],
56 56
       Package['python-mysqldb'],

Loading…
Cancel
Save