Projet

Général

Profil

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

Ajouté par Joël Cuissinat il y a environ 5 ans. Mis à jour il y a environ 5 ans.

Statut:
Fermé
Priorité:
Normal
Assigné à:
Début:
14/01/2019
Echéance:
% réalisé:

100%

Temps estimé:
0.00 h
Restant à faire (heures):
0.0

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

Révision 24c01065 (diff)
Ajouté par Daniel Dehennin il y a environ 5 ans

Implement the Active Directory join formula

Ref: #26442

Révision a33c64e6 (diff)
Ajouté par Daniel Dehennin il y a environ 5 ans

Install formula under /usr/share/eole/saltstack/salt/

Ref: #26442

Révision 0c2d7f09 (diff)
Ajouté par Daniel Dehennin il y a environ 5 ans

Install “eole-workstation-formula”

Ref: #26442

Révision 2842ad8d (diff)
Ajouté par Daniel Dehennin il y a environ 5 ans

Update packaging for EOLE 2.7.1 “Bionic”

Ref: #26442

Révision f1a55a17 (diff)
Ajouté par Daniel Dehennin il y a environ 5 ans

Provide a static state top.sls

Do not put it under /usr/share/eole/workstation/ to avoid publishing
it over HTTP.

Ref: #26442

Révision 7d51178c (diff)
Ajouté par Daniel Dehennin il y a environ 5 ans

There is no systemd service

  • debian/rules: remove systemd related instructions.

Ref: #26442

Révision 96480563 (diff)
Ajouté par Daniel Dehennin il y a environ 5 ans

The subdirectory was duplicated

Use the parent target directory.

Ref: #26442

Révision 4020b498 (diff)
Ajouté par Daniel Dehennin il y a environ 5 ans

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

Révision ab0f9fb2 (diff)
Ajouté par Daniel Dehennin il y a environ 5 ans

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

Révision 94d19ff4 (diff)
Ajouté par Daniel Dehennin il y a environ 5 ans

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

Révision 072c1692 (diff)
Ajouté par Daniel Dehennin il y a environ 5 ans

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

Révision ecb5c456 (diff)
Ajouté par Daniel Dehennin il y a environ 5 ans

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

Révision 7fa64a44 (diff)
Ajouté par Daniel Dehennin il y a environ 5 ans

The “pillar.example” must specify all the configuration options

  • pillar.example (eole-workstation.ad): add the Active Directory
    “domain”.

Ref: #26442

Révision b6506e3a (diff)
Ajouté par Daniel Dehennin il y a environ 5 ans

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

Révision 9e170fce (diff)
Ajouté par Daniel Dehennin il y a environ 5 ans

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

Révision f81470ea (diff)
Ajouté par Daniel Dehennin il y a environ 5 ans

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

Formats disponibles : Atom PDF