Différences
Ci-dessous, les différences entre deux révisions de la page.
Prochaine révision | Révision précédente | ||
elearning:workbooks:debian:11:ldf800:l801 [2022/05/26 15:12] – created admin | elearning:workbooks:debian:11:ldf800:l801 [2023/09/13 14:09] (Version actuelle) – admin | ||
---|---|---|---|
Ligne 102: | Ligne 102: | ||
===LAB #1 - Gestion des Fichiers=== | ===LAB #1 - Gestion des Fichiers=== | ||
- | Re-connectez-vous à votre machine virtuelle et créez le fichier **file_hello.pp** | + | Connectez-vous à votre machine virtuelle et démarrez la VM Puppet |
< | < | ||
- | hnorris@Laptop: | + | trainee@debian10:~$ cd puppet-beginners-guide-3/ |
- | Welcome to Ubuntu 16.04.7 LTS (GNU/Linux 4.4.0-187-generic x86_64) | + | |
+ | trainee@debian10: | ||
+ | Bringing machine ' | ||
+ | ==> default: Checking if box ' | ||
+ | ==> default: A newer version of the box ' | ||
+ | ==> default: available! You currently have version ' | ||
+ | ==> default: ' | ||
+ | ... | ||
+ | trainee@debian10: | ||
+ | Welcome to Ubuntu 16.04.7 LTS (GNU/Linux 4.4.0-210-generic x86_64) | ||
* Documentation: | * Documentation: | ||
Ligne 112: | Ligne 121: | ||
* Support: | * Support: | ||
+ | 1 package can be updated. | ||
+ | 0 of these updates are security updates. | ||
+ | To see these additional updates run: apt list --upgradable | ||
- | 7 packages can be updated. | + | New release ' |
- | 7 updates are security updates. | + | |
- | + | ||
- | New release ' | + | |
Run ' | Run ' | ||
- | Last login: Tue Feb 11 08:32:56 2020 from 10.0.2.2 | + | Last login: Tue Apr 27 17:02:35 2021 from 10.0.2.2 |
+ | </ | ||
+ | |||
+ | Mettez à jour les dépôts de paquets : | ||
+ | |||
+ | < | ||
+ | vagrant@ubuntu-xenial: | ||
+ | |||
+ | vagrant@ubuntu-xenial: | ||
+ | Hit:1 http:// | ||
+ | Hit:2 http:// | ||
+ | Hit:3 http:// | ||
+ | Hit:4 http:// | ||
+ | Hit:5 http:// | ||
+ | Reading package lists... Done | ||
+ | Building dependency tree | ||
+ | Reading state information... Done | ||
+ | 37 packages can be upgraded. Run 'apt list --upgradable' | ||
+ | </ | ||
+ | |||
+ | Créez ensuite le fichier **file_hello.pp** | ||
+ | |||
+ | < | ||
vagrant@ubuntu-xenial: | vagrant@ubuntu-xenial: | ||
+ | |||
vagrant@ubuntu-xenial: | vagrant@ubuntu-xenial: | ||
file { '/ | file { '/ | ||
Ligne 656: | Ligne 688: | ||
<WRAP center round important 50%> | <WRAP center round important 50%> | ||
**Important** - Pour apprendre comment écrire un message de commit Git, consultez ce lien : **[[https:// | **Important** - Pour apprendre comment écrire un message de commit Git, consultez ce lien : **[[https:// | ||
+ | </ | ||
+ | |||
+ | <WRAP center round important 50%> | ||
+ | **Important** - Avant de poursuivre, créez-vous un compte sur le site [[https:// | ||
</ | </ | ||
Ligne 756: | Ligne 792: | ||
vagrant@ubuntu-xenial: | vagrant@ubuntu-xenial: | ||
Username for ' | Username for ' | ||
- | Password for ' | + | Password for ' |
Counting objects: 3, done. | Counting objects: 3, done. | ||
Writing objects: 100% (3/3), 232 bytes | 0 bytes/s, done. | Writing objects: 100% (3/3), 232 bytes | 0 bytes/s, done. |