Puppet #4 - Puppet server on Rocky Linux Vagrant box

preview_player
Показать описание
In this video we'll install a Puppet server on a Rocky Linux 8.5 Vagrant box as an alternative to CentOS or RedHat Enterprise Linux.
#puppet #rockylinux #vagrant #terminal

Timestamp:
0:00 Intro
0:18 Puppet basics
0:51 Why Rocky Linux?
1:10 Install Rocky Linux VM with Vagrant
1:55 Login as root
2:10 Install Git for version control
2:29 Add Puppet repo with RPM
2:36 Install Puppet server package
2:51 Reduce memory allocation
3:15 Start/enable Puppet server services
3:29 Configure Puppet agent
4:02 Lookup hostname
4:15 Add path for Ruby and Gem
4:59 Gem install r10k
5:12 Puppet agent test
5:43 Connect to GitHub

Related videos:

Used links and commands:

vagrantfile:
end

vagrant init generic/rocky8
vagrant up
vagrant ssh

hostnamectl
sudo su -
dnf install -y git
dnf install -y puppetserver
vim /etc/sysconfig/puppetserver
systemctl start puppetserver
systemctl status puppetserver
systemctl enable puppetserver

[agent]

echo $HOSTNAME
cat /etc/hosts

vim ~/.bash_profile
export PATH=$PATH:/opt/puppetlabs/puppet/bin

sudo reboot
ruby --version
gem --version

gem install r10k
puppet agent -t
Рекомендации по теме