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:
Erik Johnson 2020-05-04 19:43:39 -05:00 committed by Daniel Wozniak
parent 680abe924c
commit bb03f4a0ee
15 changed files with 15 additions and 15 deletions

View file

@ -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.
""" """

View file

@ -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

View file

@ -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.

View file

@ -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.
""" """

View file

@ -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.
""" """

View file

@ -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

View file

@ -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
""" """

View file

@ -1,4 +1,4 @@
#!/usr/bin/env python #!/usr/bin/env python3
""" """
Start the salt-master Start the salt-master
""" """

View file

@ -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
""" """

View file

@ -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

View file

@ -1,4 +1,4 @@
#!/usr/bin/env python #!/usr/bin/env python3
""" """
Execute a salt convenience routine Execute a salt convenience routine
""" """

View file

@ -1,4 +1,4 @@
#!/usr/bin/env python #!/usr/bin/env python3
""" """
Execute the salt ssh system Execute the salt ssh system
""" """

View file

@ -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
""" """

View file

@ -1,4 +1,4 @@
#!/usr/bin/env python #!/usr/bin/env python3
from salt.scripts import salt_unity from salt.scripts import salt_unity

View file

@ -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.