Skip to content
This repository has been archived by the owner on Jun 11, 2019. It is now read-only.

Commit

Permalink
Merge pull request #4 from israelriibeiro/master
Browse files Browse the repository at this point in the history
Correct service name for centos 7 - Issue #3
  • Loading branch information
alvagante committed Feb 2, 2015
2 parents d88e7dd + 33e6205 commit 55c9979
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions manifests/params.pp
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,9 @@
}

$service = $::operatingsystem ? {
/(?i:Debian|Ubuntu|Mint)/ => 'nfs-kernel-server',
default => 'nfs',
/(?i:Debian|Ubuntu|Mint)/ => 'nfs-kernel-server',
/(?i:RedHat|Centos|Scientific)/ => 'nfs-server',
default => 'nfs',
}

$service_status = $::operatingsystem ? {
Expand Down

0 comments on commit 55c9979

Please sign in to comment.