Installing Puppet server on ArchLinux

Installation

To install puppet server first add the upstream GPG key:

$ gpg --fetch-keys https://yum.puppetlabs.com/RPM-GPG-KEY-puppet-20250406
Then install the puppetserverAUR package.
1
2
3
4
5
6
git clone https://aur.archlinux.org/puppetserver.git

cd puppetserver/

makepkg -si

Having questions about the makepkg command? Visit here!

Afterwards, enable and start the puppetserver service.
1
2
3
4
5
6
sudo systemctl enable puppetserver.service

# Add to "/etc/systemd/system/multi-user.target.wants".

sudo systemctl start puppetserver.service

Delete a key

List the keys in your keyring using the command gpg --list-keys:

$ gpg --list-keys
/root/.gnupg/pubring.kbx
------------------------
pub   rsa4096 2019-04-08 [SC] [expires: 2025-04-06]
      D6811ED3ADEEB8441AF5AA8F4528B6CD9E61EF26
uid           [ unknown] Puppet, Inc. Release Key (Puppet, Inc. Release Key) <release@puppet.com>

For example, the key ID of the instance above is “D6811ED3ADEEB8441AF5AA8F4528B6CD9E61EF26”.

Delete the key using the command gpg --delete-keys [key ID].

Note that deleting a key from your keyring will prevent you from verifying any signatures made with that key in the future. If you need to use the key again later, you will need to fetch it again using the gpg --fetch-keys command.

Configuration

The Puppet Server’s configuration files are stored in /etc/puppetlabs/puppetserver/.