puppet: Fix puppet service name for OpenBSD 5.8.
This commit is contained in:
parent
e4b6e5c4cf
commit
438d1aefc3
1 changed files with 6 additions and 1 deletions
|
@ -53,8 +53,13 @@ class puppet::client {
|
|||
|
||||
case $::operatingsystem {
|
||||
"openbsd": {
|
||||
if versioncmp($::operatingsystemrelease, "5.8") > 0 {
|
||||
$service = "puppetd"
|
||||
} else {
|
||||
$service = "puppet"
|
||||
}
|
||||
service { "puppet":
|
||||
name => "puppetd",
|
||||
name => $service,
|
||||
ensure => running,
|
||||
enable => true,
|
||||
status => $::puppetversion ? {
|
||||
|
|
Loading…
Add table
Reference in a new issue