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,8 +25,12 @@ class portmap::server {
|
||||||
}
|
}
|
||||||
"ubuntu": {
|
"ubuntu": {
|
||||||
$package = "rpcbind"
|
$package = "rpcbind"
|
||||||
|
if (versioncmp($::operatingsystemrelease, "13.10") >= 0) {
|
||||||
|
$service = "rpcbind"
|
||||||
|
} else {
|
||||||
$service = "portmap"
|
$service = "portmap"
|
||||||
}
|
}
|
||||||
|
}
|
||||||
default: {
|
default: {
|
||||||
fail("portmap::server not supported on ${::operatingsystem}")
|
fail("portmap::server not supported on ${::operatingsystem}")
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue