Last active
August 29, 2015 14:13
-
-
Save fishdust/abd0fef467bf38bf4bb3 to your computer and use it in GitHub Desktop.
Using salt to upload remote data to a FTP server via Curl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
salt 'salt-client.domain.com' cmd.run "curl -v -T /path/to/file.foo ftp://ftpuser:ftppass@domain.com/destination/path/" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment