diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 36b5f82e86..26992cade6 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -6,6 +6,8 @@ in development Fixed ~~~~~ +* Fix issue with linux pack actions failed to run remotely due to incorrect python shebang. #5983 #6042 + Contributed by Ronnie Hoffmann (@ZoeLeah Schwarz IT KG) * Fix proxy auth mode in HA environments #5766 Contributed by @floatingstatic diff --git a/contrib/debug/actions/print_ctx.py b/contrib/debug/actions/print_ctx.py index 99bb00d319..42d6e3a775 100644 --- a/contrib/debug/actions/print_ctx.py +++ b/contrib/debug/actions/print_ctx.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python # Copyright 2020 The StackStorm Authors. # diff --git a/contrib/debug/actions/python_version.py b/contrib/debug/actions/python_version.py index ed044db40d..927361f723 100644 --- a/contrib/debug/actions/python_version.py +++ b/contrib/debug/actions/python_version.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python # Copyright 2020 The StackStorm Authors. # diff --git a/contrib/debug/actions/pythonpath.py b/contrib/debug/actions/pythonpath.py index 1af41a558a..82a2f4e480 100644 --- a/contrib/debug/actions/pythonpath.py +++ b/contrib/debug/actions/pythonpath.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python # Copyright 2020 The StackStorm Authors. # diff --git a/contrib/debug/pack.yaml b/contrib/debug/pack.yaml index 41dd36b3d6..d864ac685c 100644 --- a/contrib/debug/pack.yaml +++ b/contrib/debug/pack.yaml @@ -3,6 +3,6 @@ description: Debug utilities for StackStorm ref: debug author: StackStorm Authors email: info@stackstorm.com -version: "0.0.1" +version: "0.0.2" python_versions: - "3" diff --git a/contrib/linux/actions/checks/check_loadavg.py b/contrib/linux/actions/checks/check_loadavg.py index 41de2774cf..04036924e8 100755 --- a/contrib/linux/actions/checks/check_loadavg.py +++ b/contrib/linux/actions/checks/check_loadavg.py @@ -1,4 +1,4 @@ -#!/opt/stackstorm/st2/bin/python +#!/usr/bin/env python # Copyright 2020 The StackStorm Authors. # Copyright 2019 Extreme Networks, Inc. diff --git a/contrib/linux/actions/checks/check_processes.py b/contrib/linux/actions/checks/check_processes.py index 4a7d9682c1..a32e009fec 100755 --- a/contrib/linux/actions/checks/check_processes.py +++ b/contrib/linux/actions/checks/check_processes.py @@ -1,4 +1,4 @@ -#!/opt/stackstorm/st2/bin/python +#!/usr/bin/env python # Copyright 2020 The StackStorm Authors. # Copyright 2019 Extreme Networks, Inc. diff --git a/contrib/linux/actions/dig.py b/contrib/linux/actions/dig.py index c20f28259e..737ac30133 100644 --- a/contrib/linux/actions/dig.py +++ b/contrib/linux/actions/dig.py @@ -1,4 +1,4 @@ -#! /usr/bin/python +#!/usr/bin/env python # Copyright 2020 The StackStorm Authors. # Copyright 2019 Extreme Networks, Inc. diff --git a/contrib/linux/actions/service.py b/contrib/linux/actions/service.py index 743ffdef78..0226adeef7 100644 --- a/contrib/linux/actions/service.py +++ b/contrib/linux/actions/service.py @@ -1,4 +1,4 @@ -#!/opt/stackstorm/st2/bin/python +#!/usr/bin/env python # Copyright 2020 The StackStorm Authors. # Copyright 2019 Extreme Networks, Inc. diff --git a/contrib/linux/pack.yaml b/contrib/linux/pack.yaml index 1ca97e01b9..c611cf950e 100644 --- a/contrib/linux/pack.yaml +++ b/contrib/linux/pack.yaml @@ -16,7 +16,7 @@ keywords: - open ports - processes - ps -version : 1.2.0 +version : 1.2.1 python_versions: - "2" - "3" diff --git a/st2client/setup.py b/st2client/setup.py index decfaf9237..1fe8ec1af3 100644 --- a/st2client/setup.py +++ b/st2client/setup.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python3 +#!/usr/bin/env python # Copyright 2020 The StackStorm Authors. # Copyright 2019 Extreme Networks, Inc. # diff --git a/st2common/bin/paramiko_ssh_evenlets_tester.py b/st2common/bin/paramiko_ssh_evenlets_tester.py index ceb4206080..012e7c128b 100755 --- a/st2common/bin/paramiko_ssh_evenlets_tester.py +++ b/st2common/bin/paramiko_ssh_evenlets_tester.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python3 +#!/usr/bin/env python # Copyright 2020 The StackStorm Authors. # Copyright 2019 Extreme Networks, Inc. # diff --git a/st2tests/testpacks/checks/actions/checks/check_loadavg.py b/st2tests/testpacks/checks/actions/checks/check_loadavg.py index 9439679df3..23845e7316 100755 --- a/st2tests/testpacks/checks/actions/checks/check_loadavg.py +++ b/st2tests/testpacks/checks/actions/checks/check_loadavg.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python # Copyright 2020 The StackStorm Authors. # Copyright 2019 Extreme Networks, Inc.