Project

General

Profile

User story #9711

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

Added by Alexis MOUSSET about 1 year ago. Updated about 1 month ago.

Status:
Released
Priority:
N/A
Category:
Policies
Target version:
Suggestion strength:
User visibility:
Effort required:

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

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


Related issues

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

Associated revisions

Revision 94f7ea28
Added by Benoît PECCATTE 11 months ago

Fixes #9711: Add generic methods to share files between nodes using rudder relay API

History

#1 Updated by Alexis MOUSSET about 1 year ago

  • Related to User story #9707: Add a Relay API: share files between nodes, launch run on remote run behind relay added

#2 Updated by Benoît PECCATTE 11 months ago

  • Status changed from New to In progress
  • Assignee set to Benoît PECCATTE

#3 Updated by Benoît PECCATTE 11 months ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Benoît PECCATTE to Alexis MOUSSET
  • Pull Request set to https://github.com/Normation/ncf/pull/507

#4 Updated by Benoît PECCATTE 11 months ago

  • Status changed from Pending technical review to Pending release
  • % Done changed from 0 to 100

#5 Updated by Vincent MEMBRÉ about 1 month ago

  • Status changed from Pending release to Released

Also available in: Atom PDF