Tâche #26442
Scénario #26383: Créer une instance Salt-Master/Clients pour la gestion des postes de travail
Créer la recette salt permettant l'intégration au domaine automatisée des postes clients
100%
Description
Cf. base de code prévue pour la migration : https://dev-eole.ac-dijon.fr/projects/eole-ad/repository/scribe-migration/revisions/master/entry/bin/migration_scribe#L157
NB : Pour éviter l'attente de 5 minutes pour que la machine redémarre, il ne faut pas mettre l'option restart=True
mais enchaîner l'intégration avec une demande de redémarrage "instantanée" (ex : https://dev-eole.ac-dijon.fr/projects/scribe/wiki/ClientSalt#Red%C3%A9marrage-du-PC)
Révisions associées
Implement the Active Directory join formula
Ref: #26442
Install formula under /usr/share/eole/saltstack/salt/
Ref: #26442
Install “eole-workstation-formula”
Ref: #26442
Update packaging for EOLE 2.7.1 “Bionic”
Ref: #26442
Provide a static state top.sls
Do not put it under /usr/share/eole/workstation/ to avoid publishing
it over HTTP.
Ref: #26442
Dedicate the “eole-workstation.ad” to all Active Directory SLS
The “eole-workstation.join” SLS is now “eole-workstation.ad.join”
- README.rst: document changes.
- eole-workstation/ad/init.sls: include all Active Directory related SLS.
- eole-workstation/ad/join.sls: join workstations to an Active
Directory.
Ref: #26442
Better name for the semaphore file to detect already joined domain
It's not a lock and the “domain” is an Active Directory domain.
- eole-workstation/ad/join.sls: the semaphore is now called
“ad-domain-joined.sem”.
The variable containing the semaphore file path is now
“is_joined_sem”.
Ref: #26442
Top “eole-workstation” SLS must refers “eole-workstation.ad”
- the “eole-workstation.join” is now “eole-workstation.ad.join”
- the “eole-workstation.ad” include “ “eole-workstation.ad.join”
Ref: #26442
The needed reboot after join is not detected on version <= 2018.3.3
Add comments to explain why we need some states for
“eole-workstation.ad.join”.
Ref: #26442
The rendering of SLS does not support unicode characters
Here are the errors on the windows machine:
Rendering SLS eole-workstation.ad.join failed, render error:
'charmap' codec can't decode byte 0x9d in position 1455
- eole-workstation/ad/join.sls: remove unicode characters from
comments.
Ref: #26442
The “pillar.example” must specify all the configuration options
- pillar.example (eole-workstation.ad): add the Active Directory
“domain”.
Ref: #26442
The static state top.sls is provided by eole-workstation-manager
Move the state top.sls from eole-workstation-binaries to
eole-workstation-manager.
Ref: #26442
The static state top.sls is provided by eole-workstation-manager
Move the state top.sls from eole-workstation-binaries to
eole-workstation-manager.
This revert f1a55a17b099f78f8f372db9c56e991404d647e2
Ref: #26442
Replace eole-workstation-binaries for state top.sls
The SaltStack state top.sls is now provided by this package instead of
eole-workstation-binaries.
Ref: #26442
Historique
#1 Mis à jour par Joël Cuissinat il y a environ 5 ans
- Description mis à jour (diff)
#2 Mis à jour par Scrum Master il y a environ 5 ans
- Statut changé de Nouveau à En cours
#3 Mis à jour par Scrum Master il y a environ 5 ans
- Assigné à mis à Daniel Dehennin
#4 Mis à jour par Daniel Dehennin il y a environ 5 ans
- Statut changé de En cours à Résolu
#5 Mis à jour par Joël Cuissinat il y a environ 5 ans
- Statut changé de Résolu à Fermé
- Restant à faire (heures) mis à 0.0
#6 Mis à jour par Daniel Dehennin il y a environ 5 ans
- % réalisé changé de 0 à 100
- Temps estimé mis à 0.00 h