Project

General

Profile

Tâche #23595

Scénario #23526: Epic 6 : Déployer la configuration sur les serveurs

Ajouter la gestion du message deployconf dans le contrôleur saltmaster

Added by Daniel Dehennin almost 5 years ago. Updated almost 5 years ago.

Status:
Fermé
Priority:
Normal
Assigned To:
Start date:
04/09/2018
Due date:
% Done:

100%

Estimated time:
8.00 h
Spent time:
Remaining (hours):
0.0

Description

  • reçoit un message v1.execution.salt.configuration.deploy
    • prend en paramètre l’ID du minion
  • envoie les fichiers de configuration au minion
  • émet une notification v1.execution.salt.configuration.deployed

Associated revisions

Revision 241f0b25 (diff)
Added by Daniel Dehennin almost 5 years ago

SaltStack: deploy configuration files to minions

This implements mechanism to deploy the configuration to minions. It
requires a “eole.configuration.deploy” state to be present in the the
salt-master directory “/srv/salt/”.

  • services/common/messages/v1/execution.salt.configuration.deploy.yml:
    message to schedule a configuration files deployment.
  • services/common/messages/v1/execution.salt.configuration.deploy-scheduled.yml:
    event fired when a configuration files deployment is scheduled.
  • services/saltmaster/src/salt_ctrl/controller (SaltRunner.configuration_deploy):
    apply the SaltStack state “eole.configuration.deploy”.

Ref: #23595

Revision fb0e79ef (diff)
Added by Daniel Dehennin almost 5 years ago

SaltStack: message description are french sentences

  • services/common/messages/v1/execution.salt.configuration.deploy.yml:
    Starts them by a capital and ends by a dot.

Ref: #23595

History

#1 Updated by Daniel Dehennin almost 5 years ago

  • Estimated time changed from 4.00 h to 8.00 h
  • Remaining (hours) changed from 4.0 to 8.0

#2 Updated by Scrum Master almost 5 years ago

  • Status changed from Nouveau to En cours

#3 Updated by Scrum Master almost 5 years ago

  • Assigned To set to Daniel Dehennin

#4 Updated by Daniel Dehennin almost 5 years ago

  • % Done changed from 0 to 100

#5 Updated by Scrum Master almost 5 years ago

  • Status changed from En cours to Résolu

#6 Updated by Daniel Dehennin almost 5 years ago

  • Status changed from Résolu to Fermé
  • Remaining (hours) changed from 8.0 to 0.0

Also available in: Atom PDF