Merge "Update snmpd module to support SUSE"

This commit is contained in:
Jenkins 2014-12-19 14:23:12 +00:00 committed by Gerrit Code Review
commit f10df2b640

View File

@ -4,14 +4,14 @@
# accessed by other classes.
class snmpd::params {
case $::osfamily {
'RedHat': {
/^(RedHat|Suse)$/: {
$package_name = 'net-snmp'
}
'Debian': {
$package_name = 'snmpd'
}
default: {
fail("Unsupported osfamily: ${::osfamily} The 'snmpd' module only supports osfamily Debian or RedHat (slaves only).")
fail("Unsupported osfamily: ${::osfamily} The 'snmpd' module only supports osfamily Debian, RedHat or SUSE (slaves only).")
}
}
}