mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Update scripts/* to explicitly reference Python 3
Since the master branch no longer supports Python 2, and many distros still default /usr/bin/python to Python 2, this commit changes the scripts to explicitly call Python 3.
This commit is contained in:
parent
680abe924c
commit
bb03f4a0ee
15 changed files with 15 additions and 15 deletions
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python3
|
||||||
"""
|
"""
|
||||||
Publish commands to the salt system from the command line on the master.
|
Publish commands to the salt system from the command line on the master.
|
||||||
"""
|
"""
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python3
|
||||||
|
|
||||||
# Import salt libs
|
# Import salt libs
|
||||||
from salt.scripts import salt_api
|
from salt.scripts import salt_api
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python3
|
||||||
"""
|
"""
|
||||||
Directly call a salt command in the modules, does not require a running salt
|
Directly call a salt command in the modules, does not require a running salt
|
||||||
minion to run.
|
minion to run.
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python3
|
||||||
"""
|
"""
|
||||||
Publish commands to the salt system from the command line on the master.
|
Publish commands to the salt system from the command line on the master.
|
||||||
"""
|
"""
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python3
|
||||||
"""
|
"""
|
||||||
Publish commands to the salt system from the command line on the master.
|
Publish commands to the salt system from the command line on the master.
|
||||||
"""
|
"""
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python3
|
||||||
"""
|
"""
|
||||||
Quickstart for creating an/or extending the functionality of your SaltStack installation
|
Quickstart for creating an/or extending the functionality of your SaltStack installation
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python3
|
||||||
"""
|
"""
|
||||||
Manage the authentication keys with salt-key
|
Manage the authentication keys with salt-key
|
||||||
"""
|
"""
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python3
|
||||||
"""
|
"""
|
||||||
Start the salt-master
|
Start the salt-master
|
||||||
"""
|
"""
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python3
|
||||||
"""
|
"""
|
||||||
This script is used to kick off a salt minion daemon
|
This script is used to kick off a salt minion daemon
|
||||||
"""
|
"""
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python3
|
||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
"""
|
"""
|
||||||
This script is used to kick off a salt proxy minion daemon
|
This script is used to kick off a salt proxy minion daemon
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python3
|
||||||
"""
|
"""
|
||||||
Execute a salt convenience routine
|
Execute a salt convenience routine
|
||||||
"""
|
"""
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python3
|
||||||
"""
|
"""
|
||||||
Execute the salt ssh system
|
Execute the salt ssh system
|
||||||
"""
|
"""
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python3
|
||||||
"""
|
"""
|
||||||
This script is used to kick off a salt syndic daemon
|
This script is used to kick off a salt syndic daemon
|
||||||
"""
|
"""
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python3
|
||||||
|
|
||||||
from salt.scripts import salt_unity
|
from salt.scripts import salt_unity
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python3
|
||||||
"""
|
"""
|
||||||
Publish commands to the salt system from the command line on the master.
|
Publish commands to the salt system from the command line on the master.
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue