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.mamm...@apra.it

_______________________________________________
Pacemaker mailing list
Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Reply via email to