[Pacemaker] DRBD Management Console 0.6.0

Dejan Muhamedagic dejanmm at fastmail.fm
Tue Mar 2 18:28:07 UTC 2010


Hi,

On Tue, Mar 02, 2010 at 04:19:07PM +0100, Cristian Mammoli - Apra Sistemi wrote:
> 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.

Which syntax is that actually?

BTW, Lars is right: no defaults for required parameters.

Thanks,

Dejan

> -- 
> 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
> 
> _______________________________________________
> Pacemaker mailing list
> Pacemaker at oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker




More information about the Pacemaker mailing list