Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentesRévision précédente
Prochaine révision
Révision précédente
elearning:workbooks:debian:6:avance:l129:part5 [2022/06/12 17:51] adminelearning:workbooks:debian:6:avance:l129:part5 [2022/06/22 11:51] (Version actuelle) admin
Ligne 412: Ligne 412:
 </code> </code>
  
-Lancez ensuite la commande suivante :+Lancez ensuite les commandes suivantes dans les deux esclaves :
  
 <code> <code>
 +root@slave01:~# rm -rf /etc/puppetlabs/puppet/ssl/
 root@slave01:~# puppet agent --test root@slave01:~# puppet agent --test
 Info: Creating a new RSA SSL key for slave01.i2tch.loc Info: Creating a new RSA SSL key for slave01.i2tch.loc
Ligne 423: Ligne 424:
 Couldn't fetch certificate from CA server; you might still need to sign this agent's certificate (slave01.i2tch.loc). Couldn't fetch certificate from CA server; you might still need to sign this agent's certificate (slave01.i2tch.loc).
 Exiting now because the waitforcert setting is set to 0. Exiting now because the waitforcert setting is set to 0.
 +</code>
  
-root@slave02:~# puppet agent --test+<code> 
 +[root@slave02 ~]# rm -rf /etc/puppetlabs/puppet/ssl/ 
 +[root@slave02 ~]# puppet agent --test
 Info: Creating a new RSA SSL key for slave02.i2tch.loc Info: Creating a new RSA SSL key for slave02.i2tch.loc
 Info: csr_attributes file loading from /etc/puppetlabs/puppet/csr_attributes.yaml Info: csr_attributes file loading from /etc/puppetlabs/puppet/csr_attributes.yaml
Ligne 614: Ligne 618:
  
 <code> <code>
-hnorris@Laptop:~$ ssh -l toto localhost -p 2422 +trainee@traineeXX:~$ ssh -l toto 10.0.2.59 
-toto@localhost's password: +toto@localhost's password: toto
 Welcome to Ubuntu 18.04.1 LTS (GNU/Linux 4.15.0-29-generic x86_64) Welcome to Ubuntu 18.04.1 LTS (GNU/Linux 4.15.0-29-generic x86_64)
  
Menu