1.2 KiB
Puppet Master
Installation
Installation of a puppet master is in some way more difficult than all the other system, since no pre-existant infrastructure is supposed to be present. It comes natural that the Puppet master is the first server to be deployed in the current infrastructure.
This Git repository contains the code to deploy a new puppet master.
The procedure to install it are the following steps:
install the server, using
puppet masteras profile. See this for more informations;after the server reboot, you are be able to login with your authorized ssh key;
copy the ssh root key to the right location with the right permissions, so that the server is able to authenticate itself against the git repository: :
PUPPETMMASTER=puppetmaster.psi.ch scp ssh_rsa_key* root@$PUPPETMASTER:/root/.ssh ssh root@$PUPPETMASTER chmod 400 /etc/ssh/ssh_rsa_key chmod 444 /etc/ssh/ssh_rsa_key.pubYou can now deploy the puppet server with the following code: :
git clone https://git.psi.ch/linux-infra/bootstrap cd bootstrap/instcode ./puppetmaster.sh