Project

General

Profile

Actions

User story #9711

closed

Add generic methods to share files between nodes using rudder relay API

Added by Alexis Mousset over 7 years ago. Updated almost 2 years ago.

Status:
Released
Priority:
N/A
Category:
Generic methods
Target version:
UX impact:
Suggestion strength:
User visibility:
Effort required:
Name check:
Fix check:
Regression:

Description

We will create 2 new generic methods in ncf:
- sharedfile_to_node(target_uuid, file_id, file_path, ttl) where ttl is infinite by default
- sharedfile_from_node(source_uuid, file_id, file_path)

The first one will call HEAD on the shared-files API and if is gets a 404, call POST to send the content.

The second one will just download the file using regular cfengine protocol.


Subtasks 1 (0 open1 closed)

Bug #9924: Broken syntax in parent ticketReleasedBenoît PECCATTEActions

Related issues 1 (0 open1 closed)

Related to Rudder - User story #9707: Add a Relay API: share files between nodes, launch run on remote run behind relayReleased2016-11-22Actions
Actions

Also available in: Atom PDF