Tâche #29064
Scénario #28971: Validation des scénario 'cadoles'
Validation du scénario : eole-gpo-script - prévoir une stratégie pour mettre à jour le GPO et/ou le script PowerShell
Start date:
10/04/2019
Due date:
% Done:
100%
Remaining (hours):
0.0
Related issues
History
#1 Updated by Daniel Dehennin over 3 years ago
- Related to Scénario #24828: eole-gpo-script : prévoir une stratégie pour mettre à jour le GPO et/ou le script PowerShell added
#2 Updated by Daniel Dehennin over 3 years ago
- Status changed from Nouveau to En cours
#3 Updated by Daniel Dehennin over 3 years ago
- Assigned To set to Daniel Dehennin
#4 Updated by Daniel Dehennin over 3 years ago
J’ai testé un
Upgrade-Auto
vers 2.7.1 :
- ScribeAD 2.6.2
- Poste client intégré au domaine
- J’obtiens le message :
run-parts: executing /usr/share/eole/postservice/07-eolead-gpo instance Remise à zéro du GPO EOLE "eole_script" Suppression du GPO EOLE "eole_script" GPO {FD273AD5-5B1E-4CFF-B422-DDA1D9A7D072} is linked to containers Removed link from DC=dompedago,DC=etb1,DC=lan. GPO {FD273AD5-5B1E-4CFF-B422-DDA1D9A7D072} deleted. Enregistrement du GPO EOLE "eole_script"
- Le poste client est redémarré :
- Après quelques minutes, des accès sont journalisés démontrant une installation du minion SaltStack :
root@scribe:~# cat /var/log/apache2/access.log 10.1.2.50 10.1.3.1 [09/Oct/2019:11:24:23 +0200] "GET /joineole/installMinion.conf HTTP/1.1" 200 323 10.1.2.50 10.1.3.1 [09/Oct/2019:11:24:23 +0200] "GET /joineole/saltstack/Salt-Minion-2018.3.3-Py3-AMD64-Setup.exe HTTP/1.1" 200 37378551
- En écoutant les évenements SaltStack, après quelques minutes de plus, des demandes d’authentification arrivent sur le serveur :
salt/auth { "_stamp": "2019-10-09T09:27:29.616402", "act": "pend", "id": "PC-282481.dompedago.etb1.lan", "pub": "-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAr9so48J3DrpzfquRg8qp\nFjReHanUmhNOK2IEpuZKJFom7IS/n5B2Nqhm8dj71j1RYj/w6k1jrjFiz/ksbRA2\nJQGQxbdVIbQB7XrhzPqkkW3Z53xMrpMdU/bGCgcJu5+3ShZPJ8bd4LxJ2xgqaLaf\nR9SkuFIt90+vRYV2R0eoisIyfrQ9MFCBOuOu92yyzFwxg8yOXqPWsS0ZkidD5Ds/\nXuHJV8aARzEn5LuwnBJQZzjv/B41m6DYqeE54i3Kn+pH4lxItlH3+1l4r/2/QlmP\noCPAYcqm1t8utOHD6R3eBKiBy4AqwRoImxq8wN9ZbPrLwneaYbU4dqxfTWMUwUOg\nbwIDAQAB\n-----END PUBLIC KEY-----", "result": true }
- Une clef est à valider sur par le master SaltStack
root@scribe:~# salt-key Accepted Keys: Denied Keys: Unaccepted Keys: PC-282481.dompedago.etb1.lan Rejected Keys:
- Après quelques minutes, des accès sont journalisés démontrant une installation du minion SaltStack :
Le GPO est donc bien mise à jour pour prendre en compte l’installation du minion sur le poste client.
#5 Updated by Daniel Dehennin over 3 years ago
- Status changed from En cours to Résolu
#6 Updated by Daniel Dehennin over 3 years ago
- % Done changed from 0 to 100
#7 Updated by Daniel Dehennin over 3 years ago
- Status changed from Résolu to Fermé
- Remaining (hours) set to 0.0