def bounce_cluster(name):
 ret = {'name': name, 'changes': {}, 'result': None, 'comment': ''}
 if __opts__['test']:
  ret['comment'] = 'Bouncing cluster'
  return ret
 __salt__['trafficserver.bounce_cluster']()
 ret['result'] = True
 ret['comment'] = 'Bounced cluster'
 return ret

def bounce_cluster ( name ) : ret = { 'name' : name , 'changes' : { } , 'result' : None , 'comment' : '' } if __opts__ [ 'test' ] : ret [ 'comment' ] = 'Bouncing cluster' return ret __salt__ [ 'trafficserver.bounce_cluster' ] ( ) ret [ 'result' ] = True ret [ 'comment' ] = 'Bounced cluster' return ret
bounce all traffic server nodes in the cluster .