From 440bcec0d2168ca40431c149eb28d1c3095ad9a4 Mon Sep 17 00:00:00 2001 From: Micke Nordin Date: Wed, 1 Nov 2023 15:20:23 +0100 Subject: [PATCH] python3.9 -> python3 --- manifests/script.pp | 8 ++++---- templates/script/restart-db-cluster.erb | 2 +- templates/script/restart-nextcloud-farm.erb | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/manifests/script.pp b/manifests/script.pp index 9229c96..10a0bdc 100644 --- a/manifests/script.pp +++ b/manifests/script.pp @@ -72,7 +72,7 @@ class sunetdrive::script ( ensure => installed, provider => apt, } - package { 'python3.9': + package { 'python3': ensure => installed, provider => apt, } @@ -82,9 +82,9 @@ class sunetdrive::script ( } $drive_version = '0.3.1' exec { 'drive-utils': - command => "python3.9 -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}", - require => Package['python3.9'], + command => "python3 -m pip install https://pypi.sunet.se/packages/drive-utils-${drive_version}.tar.gz", + unless => "python3 -m pip list | grep drive-utils | grep ${drive_version}", + require => Package['python3'], } file { '/root/.ssh/': ensure => directory, diff --git a/templates/script/restart-db-cluster.erb b/templates/script/restart-db-cluster.erb index c5ab40a..6ea18ba 100755 --- a/templates/script/restart-db-cluster.erb +++ b/templates/script/restart-db-cluster.erb @@ -1,4 +1,4 @@ -#!/usr/bin/env python3.9 +#!/usr/bin/env python3 # vim: set filetype=python: import subprocess diff --git a/templates/script/restart-nextcloud-farm.erb b/templates/script/restart-nextcloud-farm.erb index d68c8a4..05321a2 100755 --- a/templates/script/restart-nextcloud-farm.erb +++ b/templates/script/restart-nextcloud-farm.erb @@ -1,4 +1,4 @@ -#!/usr/bin/env python3.9 +#!/usr/bin/env python3 # vim: set filetype=python: import subprocess