diff options
Diffstat (limited to 'meta-openstack/recipes-support/salt/salt/set_python_location_hashbang.patch')
-rw-r--r-- | meta-openstack/recipes-support/salt/salt/set_python_location_hashbang.patch | 145 |
1 files changed, 98 insertions, 47 deletions
diff --git a/meta-openstack/recipes-support/salt/salt/set_python_location_hashbang.patch b/meta-openstack/recipes-support/salt/salt/set_python_location_hashbang.patch index 2369d4c..76d6f41 100644 --- a/meta-openstack/recipes-support/salt/salt/set_python_location_hashbang.patch +++ b/meta-openstack/recipes-support/salt/salt/set_python_location_hashbang.patch | |||
@@ -6,102 +6,153 @@ Upstream-Status: Pending | |||
6 | # processes that are generically named python. Changed shebang so | 6 | # processes that are generically named python. Changed shebang so |
7 | # process names will be identifiable by the init scripts. | 7 | # process names will be identifiable by the init scripts. |
8 | 8 | ||
9 | diff -Naur a/scripts/salt-api b/scripts/salt-api | 9 | diff --git a/scripts/salt b/scripts/salt |
10 | --- a/scripts/salt-api 2015-04-08 16:48:01.912294278 -0500 | 10 | index 1a6d6b4d0c..0408ad07b2 100755 |
11 | +++ b/scripts/salt-api 2015-04-08 16:49:03.336483297 -0500 | 11 | --- a/scripts/salt |
12 | +++ b/scripts/salt | ||
12 | @@ -1,4 +1,4 @@ | 13 | @@ -1,4 +1,4 @@ |
13 | -#!/usr/bin/env python | 14 | -#!/usr/bin/env python |
14 | +#!/usr/bin/python | 15 | +#!/usr/bin/env python3 |
16 | ''' | ||
17 | Publish commands to the salt system from the command line on the master. | ||
18 | ''' | ||
19 | diff --git a/scripts/salt-api b/scripts/salt-api | ||
20 | index 6f028bacb6..7a51117822 100755 | ||
21 | --- a/scripts/salt-api | ||
22 | +++ b/scripts/salt-api | ||
23 | @@ -1,4 +1,4 @@ | ||
24 | -#!/usr/bin/env python | ||
25 | +#!/usr/bin/env python3 | ||
15 | 26 | ||
16 | # Import salt libs | 27 | # Import salt libs |
17 | from salt.scripts import salt_api | 28 | from salt.scripts import salt_api |
18 | diff -Naur a/scripts/salt-call b/scripts/salt-call | 29 | diff --git a/scripts/salt-call b/scripts/salt-call |
19 | --- a/scripts/salt-call 2015-04-08 16:48:01.912294278 -0500 | 30 | index 5b8a8f3935..9ddda9428d 100755 |
20 | +++ b/scripts/salt-call 2015-04-08 16:49:11.360507977 -0500 | 31 | --- a/scripts/salt-call |
32 | +++ b/scripts/salt-call | ||
21 | @@ -1,4 +1,4 @@ | 33 | @@ -1,4 +1,4 @@ |
22 | -#!/usr/bin/env python | 34 | -#!/usr/bin/env python |
23 | +#!/usr/bin/python | 35 | +#!/usr/bin/env python3 |
24 | ''' | 36 | ''' |
25 | Directly call a salt command in the modules, does not require a running salt | 37 | Directly call a salt command in the modules, does not require a running salt |
26 | minion to run. | 38 | minion to run. |
27 | diff -Naur a/scripts/salt-cloud b/scripts/salt-cloud | 39 | diff --git a/scripts/salt-cloud b/scripts/salt-cloud |
28 | --- a/scripts/salt-cloud 2015-04-08 16:48:01.912294278 -0500 | 40 | index e977b68179..01c593881c 100755 |
29 | +++ b/scripts/salt-cloud 2015-04-08 16:49:20.612536436 -0500 | 41 | --- a/scripts/salt-cloud |
42 | +++ b/scripts/salt-cloud | ||
30 | @@ -1,4 +1,4 @@ | 43 | @@ -1,4 +1,4 @@ |
31 | -#!/usr/bin/env python | 44 | -#!/usr/bin/env python |
32 | +#!/usr/bin/python | 45 | +#!/usr/bin/env python3 |
33 | ''' | 46 | ''' |
34 | Publish commands to the salt system from the command line on the master. | 47 | Publish commands to the salt system from the command line on the master. |
35 | ''' | 48 | ''' |
36 | diff -Naur a/scripts/salt-cp b/scripts/salt-cp | 49 | diff --git a/scripts/salt-cp b/scripts/salt-cp |
37 | --- a/scripts/salt-cp 2015-04-08 16:48:01.912294278 -0500 | 50 | index 3da660d137..dcc3f11554 100755 |
38 | +++ b/scripts/salt-cp 2015-04-08 16:49:30.132565723 -0500 | 51 | --- a/scripts/salt-cp |
52 | +++ b/scripts/salt-cp | ||
39 | @@ -1,4 +1,4 @@ | 53 | @@ -1,4 +1,4 @@ |
40 | -#!/usr/bin/env python | 54 | -#!/usr/bin/env python |
41 | +#!/usr/bin/python | 55 | +#!/usr/bin/env python3 |
42 | ''' | 56 | ''' |
43 | Publish commands to the salt system from the command line on the master. | 57 | Publish commands to the salt system from the command line on the master. |
44 | ''' | 58 | ''' |
45 | diff -Naur a/scripts/salt-key b/scripts/salt-key | 59 | diff --git a/scripts/salt-extend b/scripts/salt-extend |
46 | --- a/scripts/salt-key 2015-04-08 16:48:01.912294278 -0500 | 60 | index 5385a7b6a9..b01c584bb4 100755 |
47 | +++ b/scripts/salt-key 2015-04-08 16:49:39.912595801 -0500 | 61 | --- a/scripts/salt-extend |
62 | +++ b/scripts/salt-extend | ||
63 | @@ -1,4 +1,4 @@ | ||
64 | -#!/usr/bin/env python | ||
65 | +#!/usr/bin/env python3 | ||
66 | ''' | ||
67 | Quickstart for creating an/or extending the functionality of your SaltStack installation | ||
68 | |||
69 | diff --git a/scripts/salt-key b/scripts/salt-key | ||
70 | index cb26dfd5a6..596b202a3f 100755 | ||
71 | --- a/scripts/salt-key | ||
72 | +++ b/scripts/salt-key | ||
48 | @@ -1,4 +1,4 @@ | 73 | @@ -1,4 +1,4 @@ |
49 | -#!/usr/bin/env python | 74 | -#!/usr/bin/env python |
50 | +#!/usr/bin/python | 75 | +#!/usr/bin/env python3 |
51 | ''' | 76 | ''' |
52 | Manage the authentication keys with salt-key | 77 | Manage the authentication keys with salt-key |
53 | ''' | 78 | ''' |
54 | diff -Naur a/scripts/salt-master b/scripts/salt-master | 79 | diff --git a/scripts/salt-master b/scripts/salt-master |
55 | --- a/scripts/salt-master 2015-04-08 16:48:01.912294278 -0500 | 80 | index b4323bd532..52bb47dc47 100755 |
56 | +++ b/scripts/salt-master 2015-04-08 16:49:50.224627508 -0500 | 81 | --- a/scripts/salt-master |
82 | +++ b/scripts/salt-master | ||
57 | @@ -1,4 +1,4 @@ | 83 | @@ -1,4 +1,4 @@ |
58 | -#!/usr/bin/env python | 84 | -#!/usr/bin/env python |
59 | +#!/usr/bin/python | 85 | +#!/usr/bin/env python3 |
60 | ''' | 86 | ''' |
61 | Start the salt-master | 87 | Start the salt-master |
62 | ''' | 88 | ''' |
63 | diff -Naur a/scripts/salt-minion b/scripts/salt-minion | 89 | diff --git a/scripts/salt-minion b/scripts/salt-minion |
64 | --- a/scripts/salt-minion 2015-04-08 16:48:01.912294278 -0500 | 90 | index 74a9fa1d67..4a23ed9122 100755 |
65 | +++ b/scripts/salt-minion 2015-04-08 16:49:57.808650832 -0500 | 91 | --- a/scripts/salt-minion |
92 | +++ b/scripts/salt-minion | ||
66 | @@ -1,4 +1,4 @@ | 93 | @@ -1,4 +1,4 @@ |
67 | -#!/usr/bin/env python | 94 | -#!/usr/bin/env python |
68 | +#!/usr/bin/python | 95 | +#!/usr/bin/env python3 |
69 | ''' | 96 | ''' |
70 | This script is used to kick off a salt minion daemon | 97 | This script is used to kick off a salt minion daemon |
71 | ''' | 98 | ''' |
72 | diff -Naur a/scripts/salt-run b/scripts/salt-run | 99 | diff --git a/scripts/salt-proxy b/scripts/salt-proxy |
73 | --- a/scripts/salt-run 2015-04-08 16:48:01.912294278 -0500 | 100 | index e921e6590b..443774ef85 100755 |
74 | +++ b/scripts/salt-run 2015-04-08 16:50:06.588677825 -0500 | 101 | --- a/scripts/salt-proxy |
102 | +++ b/scripts/salt-proxy | ||
75 | @@ -1,4 +1,4 @@ | 103 | @@ -1,4 +1,4 @@ |
76 | -#!/usr/bin/env python | 104 | -#!/usr/bin/env python |
77 | +#!/usr/bin/python | 105 | +#!/usr/bin/env python3 |
106 | # -*- coding: utf-8 -*- | ||
107 | ''' | ||
108 | This script is used to kick off a salt proxy minion daemon | ||
109 | diff --git a/scripts/salt-run b/scripts/salt-run | ||
110 | index 2b2d86554c..cfef160ab0 100755 | ||
111 | --- a/scripts/salt-run | ||
112 | +++ b/scripts/salt-run | ||
113 | @@ -1,4 +1,4 @@ | ||
114 | -#!/usr/bin/env python | ||
115 | +#!/usr/bin/env python3 | ||
78 | ''' | 116 | ''' |
79 | Execute a salt convenience routine | 117 | Execute a salt convenience routine |
80 | ''' | 118 | ''' |
81 | diff -Naur a/scripts/salt-ssh b/scripts/salt-ssh | 119 | diff --git a/scripts/salt-ssh b/scripts/salt-ssh |
82 | --- a/scripts/salt-ssh 2015-04-08 16:48:01.912294278 -0500 | 120 | index 4f21baa5f4..77bb6ceb38 100755 |
83 | +++ b/scripts/salt-ssh 2015-04-08 16:50:13.680699631 -0500 | 121 | --- a/scripts/salt-ssh |
122 | +++ b/scripts/salt-ssh | ||
84 | @@ -1,4 +1,4 @@ | 123 | @@ -1,4 +1,4 @@ |
85 | -#!/usr/bin/env python | 124 | -#!/usr/bin/env python |
86 | +#!/usr/bin/python | 125 | +#!/usr/bin/env python3 |
87 | ''' | 126 | ''' |
88 | Execute the salt ssh system | 127 | Execute the salt ssh system |
89 | ''' | 128 | ''' |
90 | diff -Naur a/scripts/salt-syndic b/scripts/salt-syndic | 129 | diff --git a/scripts/salt-syndic b/scripts/salt-syndic |
91 | --- a/scripts/salt-syndic 2015-04-08 16:48:01.912294278 -0500 | 130 | index d6faf2df63..896bf5f3b0 100755 |
92 | +++ b/scripts/salt-syndic 2015-04-08 16:50:20.892721803 -0500 | 131 | --- a/scripts/salt-syndic |
132 | +++ b/scripts/salt-syndic | ||
93 | @@ -1,4 +1,4 @@ | 133 | @@ -1,4 +1,4 @@ |
94 | -#!/usr/bin/env python | 134 | -#!/usr/bin/env python |
95 | +#!/usr/bin/python | 135 | +#!/usr/bin/env python3 |
96 | ''' | 136 | ''' |
97 | This script is used to kick off a salt syndic daemon | 137 | This script is used to kick off a salt syndic daemon |
98 | ''' | 138 | ''' |
99 | diff -Naur a/scripts/salt-unity b/scripts/salt-unity | 139 | diff --git a/scripts/salt-unity b/scripts/salt-unity |
100 | --- a/scripts/salt-unity 2015-04-08 16:48:01.912294278 -0500 | 140 | index b0a2d31597..ff1fa9034c 100755 |
101 | +++ b/scripts/salt-unity 2015-04-08 16:50:35.968768142 -0500 | 141 | --- a/scripts/salt-unity |
142 | +++ b/scripts/salt-unity | ||
102 | @@ -1,4 +1,4 @@ | 143 | @@ -1,4 +1,4 @@ |
103 | -#!/usr/bin/env python2 | 144 | -#!/usr/bin/env python |
104 | +#!/usr/bin/python2 | 145 | +#!/usr/bin/env python3 |
146 | |||
147 | from salt.scripts import salt_unity | ||
148 | |||
149 | diff --git a/scripts/spm b/scripts/spm | ||
150 | index 027864ee11..4d9b648b5d 100755 | ||
151 | --- a/scripts/spm | ||
152 | +++ b/scripts/spm | ||
153 | @@ -1,4 +1,4 @@ | ||
154 | -#!/usr/bin/env python | ||
155 | +#!/usr/bin/env python3 | ||
156 | ''' | ||
157 | Publish commands to the salt system from the command line on the master. | ||
105 | 158 | ||
106 | # Import python libs | ||
107 | import sys | ||