Uploaded March 2022 | Updated September 2026, 2 weeks ago
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
https://itvraag.nl
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:
Vagrant #6 - Hyper-V: youtu.be/HNsdfTRfnig
Vagrant #1 - Basics: youtu.be/rYz3v_kaPpY
Git #1 - Basics: youtu.be/x6Hf_SRRYOY
Vim #1 - Basics: youtu.be/VmsO5SYorX0
Puppet #3 - GitHub: youtu.be/SUMkP40dXJU
Bash #1 - basic concepts: youtu.be/C-HwzPVLo1c
Bash #4 - variables: youtu.be/mOSnZ7zOF3g
Bash #6 - package manager APT: youtu.be/ZKPs-rnG6E0
Bash #7 - package manager DNF: youtu.be/T5QMnvHie0M
Used links and commands:
app.vagrantup.com/boxes/search
vagrantfile:
Vagrant.configure("2") do |config|
config.vm.box = "generic/rocky8"
config.vm.hostname = "master.puppet.vm"
end
vagrant init generic/rocky8
vagrant up
vagrant ssh
hostnamectl
sudo su -
dnf install -y git
rpm -Uvh yum.puppet.com/puppet7-release-el-8.noarch.rpm
dnf install -y puppetserver
vim /etc/sysconfig/puppetserver
systemctl start puppetserver
systemctl status puppetserver
systemctl enable puppetserver
vim /etc/puppetlabs/puppet/puppet.conf
[agent]
server = master.puppet.vm
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
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
https://itvraag.nl
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:
Vagrant #6 - Hyper-V: youtu.be/HNsdfTRfnig
Vagrant #1 - Basics: youtu.be/rYz3v_kaPpY
Git #1 - Basics: youtu.be/x6Hf_SRRYOY
Vim #1 - Basics: youtu.be/VmsO5SYorX0
Puppet #3 - GitHub: youtu.be/SUMkP40dXJU
Bash #1 - basic concepts: youtu.be/C-HwzPVLo1c
Bash #4 - variables: youtu.be/mOSnZ7zOF3g
Bash #6 - package manager APT: youtu.be/ZKPs-rnG6E0
Bash #7 - package manager DNF: youtu.be/T5QMnvHie0M
Used links and commands:
app.vagrantup.com/boxes/search
vagrantfile:
Vagrant.configure("2") do |config|
config.vm.box = "generic/rocky8"
config.vm.hostname = "master.puppet.vm"
end
vagrant init generic/rocky8
vagrant up
vagrant ssh
hostnamectl
sudo su -
dnf install -y git
rpm -Uvh yum.puppet.com/puppet7-release-el-8.noarch.rpm
dnf install -y puppetserver
vim /etc/sysconfig/puppetserver
systemctl start puppetserver
systemctl status puppetserver
systemctl enable puppetserver
vim /etc/puppetlabs/puppet/puppet.conf
[agent]
server = master.puppet.vm
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


![Git #3 - remove, restore and rename
Here well go through deleting, restoring and renaming files.
#git
https://itvraag.nl
Git basics video: https://youtu.be/x6Hf_SRRYOY
Commands:
Removing:
git rm [file name]
git rm -r [folder name]
Debug remove:
git rm [file or pattern] -n
Restoring inside working area:
git restore .
Restoring inside staging area:
git restore -S .
Renaming:
git mv [current name] [new name]
Alternative restoring:
git reset HEAD
git checkout . Git #3 - remove, restore and rename](https://i.ytimg.com/vi/aaliP1Thm6A/mqdefault.jpg)







