From b7334ff4509167015a545c0f462bc4099791f647 Mon Sep 17 00:00:00 2001 From: Martijn de Gouw Date: Mon, 23 Mar 2020 20:13:42 +0100 Subject: [PATCH] Add support for OpenSUSE --- manifests/params.pp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/manifests/params.pp b/manifests/params.pp index d7b2fa8b..af39ebf9 100644 --- a/manifests/params.pp +++ b/manifests/params.pp @@ -261,6 +261,7 @@ 'RedHat': { $package_provider = 'rpm' } 'Debian': { $package_provider = 'dpkg' } 'Solaris': { $package_provider = 'sun' } + 'Suse': { $package_provider = 'rpm' } 'windows': { $package_provider = 'windows' } default: { $package_provider = undef } # Don't define a $package_provider } @@ -307,6 +308,11 @@ $forwarder_package_name = 'splunkforwarder' $enterprise_package_name = 'splunk' } + 'Suse x86_64': { + $package_suffix = "${version}-${build}-linux-2.6-x86_64.rpm" + $forwarder_package_name = 'splunkforwarder' + $enterprise_package_name = 'splunk' + } default: { fail("unsupported osfamily/arch ${facts['os']['family']}/${facts['os']['architecture']}") } }