Project

General

Profile

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

Added by Joël Cuissinat about 2 years ago. Updated about 2 years ago.

Status:
Fermé
Priority:
Normal
Assigned To:
Start date:
01/14/2019
Due date:
% Done:

100%

Estimated time:
0.00 h
Remaining (hours):
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)

Associated revisions

Revision 24c01065 (diff)
Added by Daniel Dehennin about 2 years ago

Implement the Active Directory join formula

Ref: #26442

Revision a33c64e6 (diff)
Added by Daniel Dehennin about 2 years ago

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

Ref: #26442

Revision 0c2d7f09 (diff)
Added by Daniel Dehennin about 2 years ago

Install “eole-workstation-formula”

Ref: #26442

Revision 2842ad8d (diff)
Added by Daniel Dehennin about 2 years ago

Update packaging for EOLE 2.7.1 “Bionic”

Ref: #26442

Revision f1a55a17 (diff)
Added by Daniel Dehennin about 2 years ago

Provide a static state top.sls

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

Ref: #26442

Revision 7d51178c (diff)
Added by Daniel Dehennin about 2 years ago

There is no systemd service

  • debian/rules: remove systemd related instructions.

Ref: #26442

Revision 96480563 (diff)
Added by Daniel Dehennin about 2 years ago

The subdirectory was duplicated

Use the parent target directory.

Ref: #26442

Revision 4020b498 (diff)
Added by Daniel Dehennin about 2 years ago

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

Revision ab0f9fb2 (diff)
Added by Daniel Dehennin about 2 years ago

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

Revision 94d19ff4 (diff)
Added by Daniel Dehennin about 2 years ago

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

Revision 072c1692 (diff)
Added by Daniel Dehennin about 2 years ago

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

Revision ecb5c456 (diff)
Added by Daniel Dehennin about 2 years ago

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

Revision 7fa64a44 (diff)
Added by Daniel Dehennin about 2 years ago

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

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

Ref: #26442

Revision b6506e3a (diff)
Added by Daniel Dehennin about 2 years ago

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

Revision 9e170fce (diff)
Added by Daniel Dehennin about 2 years ago

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

Revision f81470ea (diff)
Added by Daniel Dehennin about 2 years ago

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

History

#1 Updated by Joël Cuissinat about 2 years ago

  • Description updated (diff)

#2 Updated by Scrum Master about 2 years ago

  • Status changed from Nouveau to En cours

#3 Updated by Scrum Master about 2 years ago

  • Assigned To set to Daniel Dehennin

#4 Updated by Daniel Dehennin about 2 years ago

  • Status changed from En cours to Résolu

#5 Updated by Joël Cuissinat about 2 years ago

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

#6 Updated by Daniel Dehennin about 2 years ago

  • % Done changed from 0 to 100
  • Estimated time set to 0.00 h

Also available in: Atom PDF