Project

General

Profile

Scénario #24828

eole-gpo-script : prévoir une stratégie pour mettre à jour le GPO et/ou le script PowerShell

Added by Joël Cuissinat over 1 year ago. Updated 3 months ago.

Status:
Terminé (Sprint)
Priority:
Normal
Assigned To:
-
Category:
-
Start date:
09/23/2019
Due date:
10/11/2019
% Done:

100%

Story points:
4.0
Remaining (hours):
0.00 hour
Velocity based estimate:
2 days
Release:
Release relationship:
Auto

Description

Pour l'instant, seul le cas "GPO inexistant" est traité :

root@dc1:~# grep -A1 exists /usr/share/eole/postservice/30-gposcript 
    # exit if GPO already exists, should update it if needs
    if $(samba-tool gpo listall -k 1 |grep -q "display name : $GPONAME");

Solutions à mettre en œuvre

  • Supprimer/installer en cas de différence entre l'ancienne et la nouvelle version du fichier
  • S'assurer que le code fonctionne sur Seth et Scribe/Horus
  • S'assurer que le code fonctionne sur 2.6.2

Critères d'acceptation

  • on modifie la GPO ou le ps1 ==> elle est appliquée sur le PC

Subtasks

Tâche #29012: Permettre d’enregistrer à nouveau des politiques dans le registre localFerméBenjamin Bohard

Tâche #29013: Vérifier si l’état du GPO correspond à celui voulu.FerméBenjamin Bohard

Tâche #29014: Ne pas modifier la version du GPO si aucune modification n’a été apportée à son contenu.FerméBenjamin Bohard

Tâche #29016: Permettre la mise à jour du GPO en cas de changement.FerméBenjamin Bohard


Related issues

Related to Distribution EOLE - Tâche #29064: Validation du scénario : eole-gpo-script - prévoir une stratégie pour mettre à jour le GPO et/ou le script PowerShell Fermé 10/04/2019

Associated revisions

Revision 7c8a0916 (diff)
Added by Benjamin Bohard 4 months ago

Update GPO if imported files are not the same.

Ref #24828

Revision 4596a770 (diff)
Added by Benjamin Bohard 4 months ago

Permit updating policy entry in local registry.

Ref #24828

Revision ed59f997 (diff)
Added by Benjamin Bohard 4 months ago

Add dependency on hashdeep and create flag to trigger GPO reset.

Ref #24828

Revision b76fdbee (diff)
Added by Benjamin Bohard 4 months ago

Delete GPO and recreate if necessary.

Ref #24828

Revision c10613b0 (diff)
Added by Benjamin Bohard 4 months ago

Permit updating policy entry in local registry.

Ref #24828

Revision f17b0717 (diff)
Added by Benjamin Bohard 4 months ago

Add dependency on hashdeep and create flag to trigger GPO reset.

Ref #24828

Revision 1d7a881d (diff)
Added by Benjamin Bohard 4 months ago

Add dependency on hashdeep and create flag to trigger GPO reset.

Ref #24828

Revision 4831fbb7 (diff)
Added by Benjamin Bohard 4 months ago

Create folder to keep hash and trigger files.

Ref #24828

Revision 6c579534 (diff)
Added by Benjamin Bohard 4 months ago

Create folder to keep hash and trigger files.

Ref #24828

Revision debd17b5 (diff)
Added by Benjamin Bohard 4 months ago

Create folder to keep hash and trigger files.

Ref #24828

Revision 761c7eb4 (diff)
Added by Benjamin Bohard 3 months ago

Add dependency on hashdeep and create flag to trigger GPO reset.

Ref #24828

Cherry-picked from gpo-script:commit:f17b0717 Ref:#29140

Revision 98d72b2e (diff)
Added by Benjamin Bohard 3 months ago

Create folder to keep hash and trigger files.

Ref #24828

Cherry-picked from gpo-script:commit:debd17b5 Ref:#29140

History

#1 Updated by Joël Cuissinat over 1 year ago

  • Due date set to 10/26/2018
  • Target version set to sprint 2018 41-43 Equipe MENSR
  • Start date set to 10/08/2018

#2 Updated by Scrum Master over 1 year ago

  • Description updated (diff)

#3 Updated by Joël Cuissinat about 1 year ago

  • Target version changed from sprint 2018 41-43 Equipe MENSR to sprint 2018 44-46 Equipe MENSR

#4 Updated by Gérald Schwartzmann about 1 year ago

  • Target version changed from sprint 2018 44-46 Equipe MENSR to sprint 2018 47-49 Equipe MENSR

#5 Updated by Joël Cuissinat about 1 year ago

  • Due date deleted (10/26/2018)
  • Target version deleted (sprint 2018 47-49 Equipe MENSR)
  • Start date deleted (10/08/2018)

#6 Updated by Gilles Grandgérard 5 months ago

  • Release deleted (ScribeAD et clients)

#7 Updated by Gilles Grandgérard 5 months ago

  • Due date set to 09/20/2019
  • Target version set to sprint 2019 36-38 Equipe MENSR
  • Start date set to 08/20/2019

#8 Updated by Joël Cuissinat 5 months ago

  • Due date deleted (09/20/2019)
  • Target version deleted (sprint 2019 36-38 Equipe MENSR)
  • Start date deleted (08/20/2019)
  • Release set to Carnet de produit (Cadoles)

#9 Updated by Joël Cuissinat 4 months ago

  • Description updated (diff)

#10 Updated by Joël Cuissinat 4 months ago

  • Story points changed from 2.0 to 4.0

#11 Updated by Gilles Grandgérard 4 months ago

  • Description updated (diff)

#12 Updated by Joël Cuissinat 4 months ago

  • Due date set to 10/11/2019
  • Target version set to Prestation Cadoles 39-41
  • Start date set to 09/23/2019

#13 Updated by Daniel Dehennin 4 months ago

  • Related to Tâche #29064: Validation du scénario : eole-gpo-script - prévoir une stratégie pour mettre à jour le GPO et/ou le script PowerShell added

#14 Updated by Daniel Dehennin 3 months ago

J’ai validé la mise à jour du GPO en faisant un Upgrade-Auto d’un ScribeAD 2.6.2 vers 2.7.1 : un poste qui était intégré au domaine en 2.6.2 se voit installer le minion SaltStack après un redémarrage.

#15 Updated by Daniel Dehennin 3 months ago

  • Status changed from Nouveau to Terminé (Sprint)

#16 Updated by Daniel Dehennin 3 months ago

Intégration des commits du dépôts eole-ad-dc

git branch --contains 4596a770
      1   2.6.2/master
      2   2.7.0/master
      3   2.7.1/master
      4   dist/eole/2.6.2/master
      5   dist/eole/2.7.0/master
      6   dist/eole/2.7.1/master
      7 * master

git branch --contains c10613b0
      1 * master

Intégration des commits du dépôts gpo-scripts :

git branch --contains 7c8a0916
      1 * 2.6.2/master
      2   2.7.0/master
      3   2.7.1/master
      4   dist/eole/2.6.2/master
      5   dist/eole/2.7.0/master
      6   dist/eole/2.7.1/master

git branch --contains ed59f997
      1   dist/eole/2.6.2/master

git branch --contains b76fdbee
      1 * 2.6.2/master
      2   2.7.0/master
      3   2.7.1/master
      4   dist/eole/2.6.2/master
      5   dist/eole/2.7.0/master
      6   dist/eole/2.7.1/master

git branch --contains f17b0717
      1   dist/eole/2.7.1/master

git branch --contains 1d7a881d
      1   dist/eole/2.7.0/master

git branch --contains 4831fbb7
      1   dist/eole/2.7.0/master

git branch --contains 6c579534
      1   dist/eole/2.6.2/master

git branch --contains debd17b5
      1   dist/eole/2.7.1/master

#17 Updated by Joël Cuissinat 3 months ago

  • Release changed from Carnet de produit (Cadoles) to EOLE 2.7.1.2

Also available in: Atom PDF