[Pacemaker] DRBD Management Console 0.6.0

Cristian Mammoli - Apra Sistemi c.mammoli at apra.it
Tue Mar 2 15:19:07 UTC 2010


Lars Ellenberg wrote:

> If a "mandatory" parameter has a default,
> then I'd think it is no longer mandatory,
> because, if not specified, it has its default
> to fall back to.
> 
> Explicitly specifying a value that happens
> to be the same as the default is fine.
> 
> But to _require_ that you explicitly specify
> the default value makes it no longer a default, IMO.
> 
> Mandatory paramters in my opinion should be such paramters
> that cannot possibly have a sane default, like the IP for IPaddr2.

Got your point, modified the RA to use:
OCF_RESKEY_vimshbin=optional
VIMSHBIN="${OCF_RESKEY_vimshbin-/usr/bin/vmware-vim-cmd}"

Thanks to Rasto, didn't know this syntax.

-- 
Cristian Mammoli
APRA SISTEMI srl
Via Brodolini,6 Jesi (AN)
tel dir. 0731 719822

Web   www.apra.it
e-mail  c.mammoli at apra.it




More information about the Pacemaker mailing list