puppet-pacemaker/lib/puppet/provider/pcmk_resource_default
Michele Baldessari de68119a1a Fix resource defaults class
Currently the resource defaults type has a few problems:
1) Calls pcs directly and so will break in case of concurrent
   CIB updates
2) The delete method is broken because it will not expand the
   name of the variable so nothing will be deleted

Move to the common pcs() function which takes care of
1) and also fix 2) as well. Also add the tries/try_sleep parameters
to be passed to the common pcs() function. Let's also add a test
case to cover for this class.

Change-Id: I1408c359ba9047f4295c9d820e055a8bef1891ee
2017-09-23 15:51:02 +02:00
..
pcs.rb Fix resource defaults class 2017-09-23 15:51:02 +02:00