Project

General

Profile

Tâche #23738

Scénario #23697: Mettre les fichiers de la configuration du serveur à disposition de SaltStack

Installer les fichiers de configuration dans saltmaster avant de les déployer sur le minion

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

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

100%

Estimated time:
6.00 h
Remaining (hours):
0.0

Associated revisions

Revision c92a15dd (diff)
Added by Daniel Dehennin over 5 years ago

Use new configuration file names

The XML schema file is called “config.schema” and the configuration
values is “config.values”.

  • eole/configuration/defaults.yaml: define source and target for
    configuration schema and values files.
  • eole/configuration/deploy.sls: use new names.
    use new parameters for “name” and “source”.

Ref: #23738

Revision 1dc2ade0 (diff)
Added by Daniel Dehennin over 5 years ago

SaltStack: salt-master must access the “Server” configuration files

We must install the configuration files in the saltmaster “file_roots”
before being able to deploy them to the minion.

  • services/saltmaster/src/salt_ctrl/controller (SaltRunner.download_configuration_files):
    retrieve the configuration schema and values and store them in the
    minion directory of the “eole.configuration.deploy” state.
  • services/saltmaster/src/salt_ctrl/controller (SaltRunner.configuration_deploy):
    install the configuration files of the server before executing the
    “eole.configuration.deploy” state.
  • services/common/messages/v1/execution.salt.configuration.missing.yml:
    new message if the configuration is not defined.

Ref: #23738

Revision f22c790a (diff)
Added by Daniel Dehennin over 5 years ago

SaltStack: “eole.configuration” formula must use new names

  • services/saltmaster/Dockerfile: update git reference to clone.

Ref: #23738

Revision b07fc2bf (diff)
Added by Daniel Dehennin over 5 years ago

Configuration files are under “/var/lib/eole/zephir”

  • eole/configuration/defaults.yaml: changet “*_target”.
  • eole/configuration/deploy.sls: create parent directories if required

Ref: #23738

Revision 03ace009 (diff)
Added by Daniel Dehennin over 5 years ago

SaltStack: “eole.configuration” formula must use new directory

  • services/saltmaster/Dockerfile: update git reference to clone.
    Use clone + checkout to jump to a specific commit.

Ref: #23738

History

#1 Updated by Daniel Dehennin over 5 years ago

  • Status changed from Nouveau to En cours

#2 Updated by Daniel Dehennin over 5 years ago

  • Subject changed from Récuppérer les fichiers to Installer les fichiers de configuration dans saltmaster avant de les déployer sur le minion
  • Estimated time set to 6.00 h
  • Remaining (hours) set to 6.0

#3 Updated by Daniel Dehennin over 5 years ago

  • Assigned To set to Emmanuel GARETTE

#4 Updated by Daniel Dehennin over 5 years ago

  • % Done changed from 0 to 100

#5 Updated by Scrum Master over 5 years ago

  • Status changed from En cours to Résolu

#6 Updated by Joël Cuissinat over 5 years ago

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

Also available in: Atom PDF