Install puppetmaster on Sles 12 SP 2

1.3k views Asked by At

Hello I want to install puppet (puppetmaster) on a SLES 12 SP 2 VM, but I can't find any documentation or instructions.

I already tried :

Have any one a good instructions for me. It would help me a lot, cause i am already misspent several days for it.

2

There are 2 answers

2
mimi.vx On

puppet is part of "Advanced Systems Management Module" --> see https://www.suse.com/products/server/features/modules.html

so , you need enable it in yast2 registration and all other is same as in SLE11SP4 -> zypper in puppet and Puppet official documentation

5
Ansgar Wiechers On

When in doubt, read the documentation.

Quick Start

  1. Enable the Puppet package repositories, if you haven’t already done so.

[…]

  1. Install the Puppet Server package by running:

    yum install puppetserver
    

    […]

    Note that there is no - in the package name.

[…]

  1. Start the Puppet Server service:

    systemctl start puppetserver
    

    Or

    service puppetserver start
    

Using Puppet 6 Platform

[…]

Yum-based systems

To enable the Puppet 6 Platform repository:

  1. Choose the package based on your operating system and version. The packages are located in the puppet6 directory of the yum.puppet.com repository and named using the following convention:

    <PLATFORM_NAME>-release-<OS ABBREVIATION>-<OS VERSION>.noarch.rpm
    

    For instance, the package for Puppet 6 Platform on Red Hat Enterprise Linux 7 (RHEL 7) is puppet6-release-el-7.noarch.rpm.

  2. Use the rpm tool as root with the upgrade (-U) flag, and optionally the verbose (-v), and hash (-h) flags:

[…]

SuSE Enterprise Linux 12

sudo rpm -Uvh https://yum.puppet.com/puppet6/puppet6-release-sles-12.noarch.rpm