mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Add script for salt-ftp command
This commit is contained in:
parent
c2782795dc
commit
58eb4c9adc
1 changed files with 18 additions and 0 deletions
18
scripts/salt-ftp
Normal file
18
scripts/salt-ftp
Normal file
|
@ -0,0 +1,18 @@
|
|||
#!/usr/bin/env python2
|
||||
'''
|
||||
Publish commands to the salt system from the command line on the master.
|
||||
'''
|
||||
# Eventually we need to be able to interlink salt masters and form quorums,
|
||||
# and create the ability for externel systesm to talk to salt. This interface
|
||||
# is just a cli interface so that we can get this kicked off and working
|
||||
import salt.cli
|
||||
|
||||
def main():
|
||||
'''
|
||||
The main function
|
||||
'''
|
||||
ftp = salt.cli.SaltFTP()
|
||||
ftp.run()
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
Loading…
Add table
Reference in a new issue