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
Status:
Fermé
Priority:
Normal
Assigned To:
Target version:
Start date:
04/25/2018
Due date:
% Done:
100%
Estimated time:
6.00 h
Remaining (hours):
0.0
Associated revisions
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
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
SaltStack: “eole.configuration” formula must use new names
- services/saltmaster/Dockerfile: update git reference to clone.
Ref: #23738
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
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