Tâche #18543
Scénario #18402: Pouvoir utiliser des paramêtres des formulaires dans les "states"
Intégrer les variables Creole dans les pillars saltstack
Status:
Fermé
Priority:
Normal
Assigned To:
Target version:
Remaining (hours):
0.0
Associated revisions
Inject Creole configuration in SaltStack pillars
ref #18543 @6h
Inject Creole configuration in SaltStack pillars
ref #18543 @6h
Inject Creole configuration in SaltStack pillars
ref #18543 @6h
Delete refresh_pillar in postservice
ref #18543
History
#1 Updated by Lionel Morin over 6 years ago
- Assigned To set to Lionel Morin
#2 Updated by Lionel Morin over 6 years ago
- Status changed from Nouveau to En cours
#3 Updated by Bruno Boiget over 6 years ago
Exemple de sls utilisant une variable des pillars :
eole: file.directory: - name: /tmp/{{ salt['pillar.get']('creole.general.nom_machine', 'pouet') }} - user: eole - group: adm - file_mode: 744 - dir_mode: 755
à corriger :
l'appel fait dans l'action (avec saltenv=ead) ne semble pas fonctionner.
fonctionne en remplaçant
__salt__['state.apply'](modname, saltenv=ewtapp)
par
__salt__['state.apply']("{}.{}".format(ewtapp, modname))
#4 Updated by Bruno Boiget over 6 years ago
- % Done changed from 0 to 90
- Remaining (hours) changed from 4.0 to 0.5
#5 Updated by Scrum Master over 6 years ago
- Status changed from En cours to Résolu
#6 Updated by Lionel Morin over 6 years ago
- % Done changed from 90 to 100
#7 Updated by Emmanuel GARETTE over 6 years ago
- Status changed from Résolu to En cours
#8 Updated by Emmanuel GARETTE over 6 years ago
- % Done changed from 100 to 80
- Remaining (hours) changed from 0.5 to 1.0
C'est vraiment utile de faire un "saltutil.refresh_pillar" au reconfigure ?
Cela ne semble pas nécessaire.
#9 Updated by Lionel Morin over 6 years ago
- % Done changed from 80 to 100
- Remaining (hours) changed from 1.0 to 0.0
#10 Updated by Lionel Morin over 6 years ago
- Status changed from En cours to Résolu
#11 Updated by Lionel Morin over 6 years ago
- Status changed from Résolu to Fermé