Update snmpd module to support SUSE
Add parameters for SUSE based distros. Change-Id: If10b70b5fe80f4b79f002f017c06ee99f97dd7f0
This commit is contained in:
parent
12c069e667
commit
5f514050f9
@ -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).")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user