def resource_defaults_to(name, default, value, extra_args=None, cibname=None):
 return _item_present(name=name, item='resource', item_id='{0}={1}'.format(default, value), item_type=None, show='defaults', create='defaults', extra_args=extra_args, cibname=cibname)

def resource_defaults_to ( name , default , value , extra_args = None , cibname = None ) : return _item_present ( name = name , item = 'resource' , item_id = '{0}={1}' . format ( default , value ) , item_type = None , show = 'defaults' , create = 'defaults' , extra_args = extra_args , cibname = cibname )
ensure a resource default in the cluster is set to a given value should be run on one cluster node only can only be run on a node with a functional pacemaker/corosync name irrelevant .