Skip to content

Commit

Permalink
Add support for OpenSUSE
Browse files Browse the repository at this point in the history
  • Loading branch information
martijndegouw committed Mar 23, 2020
1 parent fc9936a commit b7334ff
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions manifests/params.pp
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down Expand Up @@ -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']}") }
}

Expand Down

0 comments on commit b7334ff

Please sign in to comment.