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 Aug 25, 2020
1 parent 1383e59 commit adcf772
Show file tree
Hide file tree
Showing 2 changed files with 12 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 @@ -260,6 +260,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 @@ -311,6 +312,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
6 changes: 6 additions & 0 deletions metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,12 @@
"16.04"
]
},
{
"operatingsystem": "OpenSUSE",
"operatingsystemrelease": [
"15"
]
},
{
"operatingsystem": "Solaris",
"operatingsystemrelease": [
Expand Down

0 comments on commit adcf772

Please sign in to comment.