python3.9 -> python3
This commit is contained in:
parent
3f1ea1b694
commit
440bcec0d2
|
@ -72,7 +72,7 @@ class sunetdrive::script (
|
||||||
ensure => installed,
|
ensure => installed,
|
||||||
provider => apt,
|
provider => apt,
|
||||||
}
|
}
|
||||||
package { 'python3.9':
|
package { 'python3':
|
||||||
ensure => installed,
|
ensure => installed,
|
||||||
provider => apt,
|
provider => apt,
|
||||||
}
|
}
|
||||||
|
@ -82,9 +82,9 @@ class sunetdrive::script (
|
||||||
}
|
}
|
||||||
$drive_version = '0.3.1'
|
$drive_version = '0.3.1'
|
||||||
exec { 'drive-utils':
|
exec { 'drive-utils':
|
||||||
command => "python3.9 -m pip install https://pypi.sunet.se/packages/drive-utils-${drive_version}.tar.gz",
|
command => "python3 -m pip install https://pypi.sunet.se/packages/drive-utils-${drive_version}.tar.gz",
|
||||||
unless => "python3.9 -m pip list | grep drive-utils | grep ${drive_version}",
|
unless => "python3 -m pip list | grep drive-utils | grep ${drive_version}",
|
||||||
require => Package['python3.9'],
|
require => Package['python3'],
|
||||||
}
|
}
|
||||||
file { '/root/.ssh/':
|
file { '/root/.ssh/':
|
||||||
ensure => directory,
|
ensure => directory,
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/env python3.9
|
#!/usr/bin/env python3
|
||||||
# vim: set filetype=python:
|
# vim: set filetype=python:
|
||||||
|
|
||||||
import subprocess
|
import subprocess
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/env python3.9
|
#!/usr/bin/env python3
|
||||||
# vim: set filetype=python:
|
# vim: set filetype=python:
|
||||||
|
|
||||||
import subprocess
|
import subprocess
|
||||||
|
|
Loading…
Reference in a new issue