Skip to content

Commit b8c3741

Browse files
committed
use ensure_package instead of package for python install (test)
1 parent f962dc9 commit b8c3741

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

manifests/install.pp

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,15 @@
3636
}
3737

3838
if $python::manage_python_package {
39-
package { 'python':
40-
ensure => $python::ensure,
41-
name => $python,
42-
}
39+
ensure_package({
40+
'python' => {
41+
ensure => $python::ensure
42+
}
43+
})
44+
# package { 'python':
45+
# ensure => $python::ensure,
46+
# name => $python,
47+
# }
4348
}
4449

4550
case $python::provider {

0 commit comments

Comments
 (0)