Puppet

From Levy

Revision as of 09:05, 14 July 2020 by Louis (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This page gives guidelines on how to get your own puppet installation up and running.

Installation of the puppet master

For the puppet master I've chosen to run it on Debian. This is by far the easiest as running it on OpenSuSE would require to build it from source. For the installation follow the instructions here. This will install puppet 5.

Client installation and configuration on SuSE

To install the puppet client on SuSE, first we need to add the puppet repository:

zypper addrepo https://yum.puppetlabs.com/puppet5/sles/15/x86_64/ Puppet
zypper refresh

And then you can install the puppet agent:

zypper install puppet-agent

During installation you may get this warning:

puppet-agent-5.5.20-1.sles15.x86_64 (Puppet): Signature verification failed [4-Signatures public key is not available]

If so, choose i to ignore.

When installation is complete edit your /etc/puppetlabs/puppet/puppet.conf en add at least the following:

[agent]
server = <your puppet master>
runinterval = 30m

The server parameter tells your client what server to use, and the runinterval tells it to run every 30 minutes.

Now start and enable the puppet client:

systemctl start puppet
systemctl enable puppet