Skip to content

Commit 18bef76

Browse files
committed
* cosmetics
* version for virtualenv is not the same as for python
1 parent d3f315f commit 18bef76

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

manifests/install.pp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
name => $python,
5151
}
5252

53-
package { "virtualenv":
53+
package { 'virtualenv':
5454
ensure => $venv_ensure,
5555
require => Package['python'],
5656
}
@@ -143,8 +143,8 @@
143143
}
144144

145145
Package <| title == 'python' |> {
146-
tag => 'python-scl-package',
147-
}
146+
tag => 'python-scl-package',
147+
}
148148

149149
Package <| title == 'virtualenv' |> {
150150
name => "${python}-python-virtualenv",

manifests/virtualenv.pp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@
9393
$python = $version ? {
9494
'system' => 'python',
9595
'pypy' => 'pypy',
96-
default => "${version}",
96+
default => "python${version}",
9797
}
9898

9999
if $virtualenv == undef {

0 commit comments

Comments
 (0)