Installation Debian
Installation des paquets
Nous installons les paquets nécessaires
sudo aptitude install ca-certificates gnupg apt-transport-https cd /tmp && wget https://apt.puppet.com/puppet6-release-buster.deb sudo dpkg -i /tmp/puppet6-release-buster.deb
Nous créons sources list /etc/apt/sources.list.d/foreman.list et y collons
## # The Foreman repositories # Version: 2.3 / Buster deb http://deb.theforeman.org/ buster 2.2 deb http://deb.theforeman.org/ plugins 2.2
Nous intégrons la clé GPG du dépôt
wget -q https://deb.theforeman.org/pubkey.gpg -O- | sudo apt-key add -
Nous installons l'installeur Foreman
sudo aptitude update && sudo aptitude install foreman-installer
Installation de Foreman
Nous lançons l'installeur
sudo foreman-installer --enable-foreman-cli-ansible --enable-foreman-cli-discovery --enable-foreman-cli-remote-execution \ --enable-foreman-cli-tasks --enable-foreman-cli-templates --enable-foreman-plugin-ansible --enable-foreman-plugin-bootdisk \ --enable-foreman-plugin-discovery --enable-foreman-plugin-remote-execution --enable-foreman-plugin-setup \ --enable-foreman-plugin-statistics --enable-foreman-plugin-tasks --enable-foreman-plugin-templates --enable-foreman-proxy-plugin-ansible \ --foreman-initial-admin-username=groadmin --foreman-initial-organization=grohub --foreman-initial-location=vinon