created file sync
This commit is contained in:
@@ -1,2 +1,11 @@
|
||||
module ConfigurationFilesHelper
|
||||
end
|
||||
def pull_command(file)
|
||||
url = pull_file_url(file)
|
||||
"curl -o #{file.file_path} #{url}"
|
||||
end
|
||||
|
||||
def push_command(file)
|
||||
url = push_file_url(file)
|
||||
%Q{ curl -F "content=@#{file.file_path}" #{url} }
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user