[monit/services] Correction lvm seulement pour squeeze
Ignore-this: ad048f52eead30623f3b7fec9133311a La version de monit sous lenny répond "syntax error" de toute façon darcs-hash:20110311222023-ddb99-0cb927e53378fae4c91159744d2e5a64c686f75e.gz
This commit is contained in:
parent
290607b89d
commit
3bbbed833b
1 changed files with 1 additions and 1 deletions
|
@ -241,7 +241,7 @@ for line in metadata.Probes["fstab_local"].splitlines():
|
|||
comment("partition %s" % mntpoint)
|
||||
|
||||
# on vérifie le filesystem directement pour les volumes lvm
|
||||
if fs.startswith('/dev/mapper'):
|
||||
if fs.startswith('/dev/mapper') and has("squeeze"):
|
||||
print 'check filesystem fs%s with path %s' % (mntpoint, mntpoint)
|
||||
else:
|
||||
print 'check device fs%s with path %s' % (mntpoint, fs)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue