Bug12957: Pouvoir renommer un modèle de disque dans le refrepo
Finalement, j'ai retenu la clé alt_model_name; quand on la lit dans le fichier yaml, cela prête moins à interprétation.
$ rake valid:schema
$ rake gen:wiki NAME=hardware DO=diff
Differences between generated and current wiki content for page Hardware:
------------ PAGE DIFF BEGIN ------------
!|[[Sophia:Hardware|Sophia]]
!|NVMe SSDs total
|-
-|data-sort-value="Dell Ent NVMe AGN MU AIC 1.6TB"|Dell Ent NVMe AGN MU AIC 1.6TB||4||||||||||||||||'''4'''
-|-
|data-sort-value="Dell Express Flash NVMe PM1725 1.6TB AIC"|Dell Express Flash NVMe PM1725 1.6TB AIC||4||||||||||||||||'''4'''
|-
+|data-sort-value="Samsung PM1735"|Samsung PM1735||4||||||||||||||||'''4'''
+|-
!'''Sites total'''!!'''8'''!!!!!!!!!!!!!!!!'''8'''
|}
------------- PAGE DIFF END -------------
Nothing to do: hardware/grenoble
Nothing to do: hardware/lille
Nothing to do: hardware/luxembourg
Nothing to do: hardware/lyon
Nothing to do: hardware/nancy
Nothing to do: hardware/nantes
Nothing to do: hardware/rennes
Nothing to do: hardware/sophia
$ rake gen:wiki NAME=site_hardware SITE=grenoble DO=diff
Differences between generated and current wiki content for page Grenoble:Hardware:
------------ PAGE DIFF BEGIN ------------
| valign="top" style="background-color: #f9f9f9; padding: 0px 10px 0px 3px;" |'''Storage:'''
|
* 480 GB SSD SATA Micron MTFDDAK480TDN (dev: /dev/sda, by-path: /dev/disk/by-path/pci-0000:18:00.0-scsi-0:0:0:0) (primary disk)<br />
-* 1.6 TB SSD NVME Dell Dell Ent NVMe AGN MU AIC 1.6TB (dev: /dev/nvme0n1, by-path: /dev/disk/by-path/pci-0000:d8:00.0-nvme-1) <br/>
+* 1.6 TB SSD NVME Dell Samsung PM1735 (dev: /dev/nvme0n1, by-path: /dev/disk/by-path/pci-0000:d8:00.0-nvme-1) <br/>
|-
| valign="top" style="background-color: #f9f9f9; padding: 0px 10px 0px 3px;" |'''Network:'''
|
------------- PAGE DIFF END -------------