[Cluster-devel] [PATCH 2/2] checkquorum.wdmd: add integration script with wdmd

Dietmar Maurer dietmar at proxmox.com
Wed Oct 10 08:15:58 UTC 2012


> > [ -f /etc/debian_version && -d /etc/default ]
> >
> 
> that doesn´t scale well for debian derivates that don´t ship debian_version :)
> (see ubuntu & co..)
> 
> You can´t even use something like "which dpkg" since the tool is available on
> rpm based distributions... or viceversa.. there is rpm for Debian & derivates.
> 
> hardcoding all distributions is not optimal either, as they might change policy
> by version....

OK, I can see the problem now.

- Dietmar





More information about the Cluster-devel mailing list