public function multi_run_executable($recipe_name_or_right_script_href, array $options = array()) {
    $params = array('id' => $this->id);
    if (preg_match('/^\/api/', $recipe_name_or_right_script_href)) {
      $params['right_script_href'] = $recipe_name_or_right_script_href;
    } else {
      $params['recipe_name'] = $recipe_name_or_right_script_href;
    }
    if(count($options) > 0) {
      $params = array_merge($params, $options);
    }
    $this->executeCommand($this->_path_for_regex . '_multi_run_executable', $params);
  }
public function multi_run_executable($recipe_name_or_right_script_href, array $options = array()) {
    $params = array('id' => $this->id);
    if (preg_match('/^\/api/', $recipe_name_or_right_script_href)) {
      $params['right_script_href'] = $recipe_name_or_right_script_href;
    } else {
      $params['recipe_name'] = $recipe_name_or_right_script_href;
    }
    if(count($options) > 0) {
      $params = array_merge($params, $options);
    }
    $this->executeCommand($this->_path_for_regex . '_multi_run_executable', $params);
  }
public function multi_run_executable ( $ recipe_name_or_right_script_href , array $ options = array ( ) ) { $ params = array ( 'id' => $ this -> id ) ; if ( preg_match ( '/^\/api/' , $ recipe_name_or_right_script_href ) ) { $ params [ 'right_script_href' ] = $ recipe_name_or_right_script_href ; } else { $ params [ 'recipe_name' ] = $ recipe_name_or_right_script_href ; } if ( count ( $ options ) > 0 ) { $ params = array_merge ( $ params , $ options ) ; } $ this -> executeCommand ( $ this -> _path_for_regex . '_multi_run_executable' , $ params ) ; }
Run an executable on all instances of this array.

@param string $recipe_name_or_right_script_href The name of a chef recipe, or the href of a rightscript to be executed
@param array $options An associative array (Hash) where valid keys are ['ignore_lock', 'inputs', 'filters'].  See http://reference.rightscale.com/api1.5/resources/ResourceInstances.html#multi_run_executable for details
Run an executable on all instances of this array .