Install Rudder agent on SLES

If you are working on a test system, you can use the quick install script:

curl | bash -s setup-agent 5.0 [policy server hostname or ip]

That will automatically execute the following steps.


The Rudder agent requires that a syslog server is installed on the node. This syslog server can be either:

  • syslogd

  • syslog-ng

  • rsyslog

One of them is generally installed by default, but it may not be the case with minimal images. In this case you should install one (preferably syslog-ng or rsyslog).

You may encounter a segmentation fault in Zypper in the following cases:

  • On SLES 11 when trying to install Rudder rpm files locally with Zypper (for example with 'zypper install rudder-agent-version.release-1.SLES.11.x86_64.rpm')

  • On SLES 12 GA when installing Rudder packages, locally or from the repository

This is due to a bug (bnc#929483 on SUSE bugtracker) in Zypper’s RPM headers parsing. You can either:

  • Only for SLES 11, install the packages directly from the repository, as described below

  • Upgrade your libzypp package to a version including the fix provided by SuSE (upgrade for SLES11SP3 and for SLES12)

  • Use the rpm command to install packages locally (for example with rpm -i rudder-agent-version.release-1.SLES.11.x86_64.rpm)


Each official package is signed with our GPG signature. To ensure the packages you will install are official builds and have not been altered, import our key into rpm using the following command:

rpm --import

Our key fingerprint is:

pub  1024R/6F07D355 2012-11-09 Rudder Project (RPM release key) <>
      Key fingerprint = 1141 A947 CDA0 4E83 82C1  B9C4 ADAB 3BD3 6F07 D355

Add the Rudder packages repository:

  • on SLES 15:

zypper ar -n 'Rudder 5.0' Rudder
  • on SLES 12:

zypper ar -n 'Rudder 5.0' Rudder
  • on SLES 11:

zypper ar -n 'Rudder 5.0' Rudder

Update your local package database to retrieve the list of packages available on our repository:

zypper refresh

Install the package:

zypper install rudder-agent


Configure the agent

Configure the IP address or hostname of the Rudder Root Server in the following file

echo '<rudder server ip or hostname>' > /var/rudder/cfengine-community/policy_server.dat

We advise you to use the IP address of the Rudder root server. The DNS name of this server can also be used if you have a trusted DNS infrastructure with proper reverse resolutions.

You can now start the Rudder service with:

rudder agent start

Add the node to the server

Several minutes after the start of the agent, the new node should be pending in the Rudder web interface. You will be able to browse its inventory, and accept it to manage its configuration with Rudder.

You may force the agent to run and send an inventory by issuing the following command:

rudder agent inventory

You may force the agent run by issuing the following command:

rudder agent run

← on RHEL/CentOS on Debian/Ubuntu →