portmap: Fixed service startup for Ubuntu 13.10.
This commit is contained in:
parent
886d11527b
commit
b3a71f0cdd
1 changed files with 5 additions and 1 deletions
|
@ -25,7 +25,11 @@ class portmap::server {
|
|||
}
|
||||
"ubuntu": {
|
||||
$package = "rpcbind"
|
||||
$service = "portmap"
|
||||
if (versioncmp($::operatingsystemrelease, "13.10") >= 0) {
|
||||
$service = "rpcbind"
|
||||
} else {
|
||||
$service = "portmap"
|
||||
}
|
||||
}
|
||||
default: {
|
||||
fail("portmap::server not supported on ${::operatingsystem}")
|
||||
|
|
Loading…
Add table
Reference in a new issue