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:
parent
15bad5f2a8
commit
a3a766c581
@ -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"],
|
||||
],
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user