cookbook-pacemaker/libraries
Adam Spiers c08fb8a3bd use crm --force to ensure start/stop in batch mode
We want to allow a resource X to be created without starting it, and
then for a group/clone Y to be created referencing X, which can
subsequently be started.  This ensures that child resources are only
started via their parent, respecting the constraints their parent needs
to impose (e.g. ordering if the parent is a group).

However in this case, changing target-role on Y causes a "Do you want to
override target-role for child resource ..." interactive prompt.  When
STDIN is not a tty, --force is required to ensure that the target-role
on the child resource.  This only works with newer versions of crm which
are patched according to:

  https://bugzilla.novell.com/show_bug.cgi?id=868697
2014-04-10 21:33:13 +01:00
..
chef/mixin add Pacemaker-aware alternative service provider 2014-03-28 15:29:53 +00:00
pacemaker use crm --force to ensure start/stop in batch mode 2014-04-10 21:33:13 +01:00
pacemaker.rb implement Pacemaker::Resource::MasterSlave 2014-03-16 10:28:47 +00:00
stonith.rb Refer to "Fencing agent", not "STONITH plugin" 2014-03-28 23:49:03 +01:00