Différences
Ci-dessous, les différences entre deux révisions de la page.
| Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
| elearning:workbooks:debian:6:avance:l129:part4 [2020/08/24 15:52] – admin | elearning:workbooks:debian:6:avance:l129:part4 [2022/06/22 08:56] (Version actuelle) – admin | ||
|---|---|---|---|
| Ligne 1: | Ligne 1: | ||
| ~~PDF: | ~~PDF: | ||
| - | Version : **2020.01** | + | Version : **2022.01** |
| Dernière mise-à-jour : ~~LASTMOD~~ | Dernière mise-à-jour : ~~LASTMOD~~ | ||
| Ligne 70: | Ligne 70: | ||
| </ | </ | ||
| - | <WRAP center round important | + | <WRAP center round important> |
| **Important** - **lookup** a besoin du nom de la clef Hiera, par exemple **backup_path**, | **Important** - **lookup** a besoin du nom de la clef Hiera, par exemple **backup_path**, | ||
| </ | </ | ||
| Ligne 376: | Ligne 376: | ||
| </ | </ | ||
| - | <WRAP center round important | + | <WRAP center round important> |
| **Important** - Une valeur booléenne doit être soit **true**, soit **false**. | **Important** - Une valeur booléenne doit être soit **true**, soit **false**. | ||
| </ | </ | ||
| Ligne 497: | Ligne 497: | ||
| </ | </ | ||
| - | <WRAP center round important | + | <WRAP center round important> |
| **Important** - La priorité des sources est descendante. Si la valeur d'une clef est spécifiée dans deux sources et les valeurs sont différentes, | **Important** - La priorité des sources est descendante. Si la valeur d'une clef est spécifiée dans deux sources et les valeurs sont différentes, | ||
| </ | </ | ||
| Ligne 718: | Ligne 718: | ||
| Processing triggers for ureadahead (0.100.0-19.1) ... | Processing triggers for ureadahead (0.100.0-19.1) ... | ||
| Processing triggers for systemd (229-4ubuntu21.23) ... | Processing triggers for systemd (229-4ubuntu21.23) ... | ||
| + | </ | ||
| + | |||
| + | Si la version installée de ruby est inférieure à la 2.5.0, mettez à jour ruby : | ||
| + | |||
| + | < | ||
| + | vagrant@ubuntu-xenial: | ||
| + | vagrant@ubuntu-xenial: | ||
| + | vagrant@ubuntu-xenial: | ||
| + | vagrant@ubuntu-xenial: | ||
| + | vagrant@ubuntu-xenial: | ||
| + | </ | ||
| + | |||
| + | Installez ensuite le support gpg pour Hiera : | ||
| + | |||
| + | < | ||
| + | vagrant@ubuntu-xenial: | ||
| </ | </ | ||
| Ligne 868: | Ligne 884: | ||
| </ | </ | ||
| - | <WRAP center round important | + | <WRAP center round important> |
| **Important** - Utilisez l' | **Important** - Utilisez l' | ||
| </ | </ | ||
| Ligne 916: | Ligne 932: | ||
| </ | </ | ||
| - | <WRAP center round important | + | <WRAP center round important> |
| **Important** - **ENC** indique à Hiera que ce fichier est crypté. GPG indique à Hiera quel type de cryptage. | **Important** - **ENC** indique à Hiera que ce fichier est crypté. GPG indique à Hiera quel type de cryptage. | ||
| </ | </ | ||
| Ligne 936: | Ligne 952: | ||
| </ | </ | ||
| - | <WRAP center round important | + | <WRAP center round important> |
| **Important** - Utilisez l' | **Important** - Utilisez l' | ||
| </ | </ | ||
| Ligne 981: | Ligne 997: | ||
| </ | </ | ||
| - | <WRAP center round important | + | <WRAP center round important> |
| **Important** - Notez la modification automatique de la ligne **test_secret: | **Important** - Notez la modification automatique de la ligne **test_secret: | ||
| </ | </ | ||
| Ligne 1206: | Ligne 1222: | ||
| </ | </ | ||
| - | <WRAP center round important | + | <WRAP center round important> |
| **Important** - La fonction **upcase** fait partie du module **stdlib**. | **Important** - La fonction **upcase** fait partie du module **stdlib**. | ||
| </ | </ | ||
| Ligne 1387: | Ligne 1403: | ||
| </ | </ | ||
| - | <WRAP center round important | + | <WRAP center round important> |
| **Important** - Le mot de passe de root pour MySQL **hairline-quotient-inside-tableful** est ici en clair. En production, ce mot de passe serait crypté comme nous avons déjà vu. | **Important** - Le mot de passe de root pour MySQL **hairline-quotient-inside-tableful** est ici en clair. En production, ce mot de passe serait crypté comme nous avons déjà vu. | ||
| </ | </ | ||
| Ligne 1402: | Ligne 1418: | ||
| </ | </ | ||
| - | <WRAP center round important | + | <WRAP center round important> |
| **Important** - Le nom de la ressource **cat_pictures** est le nom de la base de données. Les attributs **user**, **password**, | **Important** - Le nom de la ressource **cat_pictures** est le nom de la base de données. Les attributs **user**, **password**, | ||
| </ | </ | ||
| Ligne 1501: | Ligne 1517: | ||
| </ | </ | ||
| - | <WRAP center round important | + | <WRAP center round important> |
| **Important** - **apache:: | **Important** - **apache:: | ||
| </ | </ | ||
| Ligne 1516: | Ligne 1532: | ||
| </ | </ | ||
| - | <WRAP center round important | + | <WRAP center round important> |
| **Important** - Le nom de la ressource **cat-pictures.com** est le nom de domaine de l' | **Important** - Le nom de la ressource **cat-pictures.com** est le nom de domaine de l' | ||
| </ | </ | ||
| Ligne 1530: | Ligne 1546: | ||
| </ | </ | ||
| - | <WRAP center round important | + | <WRAP center round important> |
| **Important** - Cette ressource crée le fichier **/ | **Important** - Cette ressource crée le fichier **/ | ||
| </ | </ | ||
| Ligne 1573: | Ligne 1589: | ||
| </ | </ | ||
| - | <WRAP center round important | + | <WRAP center round important> |
| **Important** - La première ressource est de type **file**. Cette ressource crée si nécessaire le répertoire **/ | **Important** - La première ressource est de type **file**. Cette ressource crée si nécessaire le répertoire **/ | ||
| </ | </ | ||
| Ligne 1590: | Ligne 1606: | ||
| </ | </ | ||
| - | <WRAP center round important | + | <WRAP center round important> |
| **Important** - Le nom de la ressource **/ | **Important** - Le nom de la ressource **/ | ||
| </ | </ | ||
| Ligne 1611: | Ligne 1627: | ||
| ---- | ---- | ||
| - | < | + | |
| - | <DIV ALIGN=" | + | Copyright © 2022 Hugh Norris. |
| - | Copyright © 2020 Hugh Norris.< | + | |
| - | </ | + | |
| - | </ | + | |