Skip to content

Commit 3f776b5

Browse files
committed
puppet conditionals are weird, y'all
1 parent d66cdf3 commit 3f776b5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

manifests/install.pp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,8 @@
8888
exec { 'python-scl-pip-install':
8989
require => Package['scl-utils'],
9090
command => "scl enable ${python::version} -- easy_install pip",
91-
onlyif => $pip_ensure,
91+
path => ["/usr/bin", "/bin"],
92+
onlyif => "test x == x${pip_ensure}",
9293
creates => "/opt/rh/${python::version}/root/usr/bin/pip",
9394
}
9495
}

0 commit comments

Comments
 (0)