Fix openafs-client status check

openafs-client (on debian at least) does not support the status
command, so check for afsd in the process table instead.

Change-Id: Ieba4e452d00bb02c1efbe94de59296d4c2c3628d
This commit is contained in:
James E. Blair 2016-01-25 08:01:32 -08:00
parent 15bad5f2a8
commit a3a766c581
1 changed files with 4 additions and 2 deletions

View File

@ -111,8 +111,10 @@ class openafs::client (
}
service { 'openafs-client':
ensure => running,
require => [
ensure => running,
hasstatus => false,
pattern => '/sbin/afsd',
require => [
File["${openafs_path}/CellServDB"],
],
}