def find_minion_by_name(minion_name, raise_error = true)
      # raise(Thor::Error, "Node not specified.") if node_name.nil? || node_name.empty?
      raise('Minion not specified.') if minion_name.nil? || minion_name.empty?
      return {minion_name => minions_filtered[minion_name]} if minions[minion_name]
      minions.each do |key, value|
        return {key => value} if key.start_with?(minion_name)
      end
      raise("Not found:  #{minion_name} in #{stage_name}.") if raise_error
      # raise(Thor::Error, "Not found:  #{node_name} in #{stage_name}.")
      nil
    end
def find_minion_by_name(minion_name, raise_error = true)
      # raise(Thor::Error, "Node not specified.") if node_name.nil? || node_name.empty?
      raise('Minion not specified.') if minion_name.nil? || minion_name.empty?
      return {minion_name => minions_filtered[minion_name]} if minions[minion_name]
      minions.each do |key, value|
        return {key => value} if key.start_with?(minion_name)
      end
      raise("Not found:  #{minion_name} in #{stage_name}.") if raise_error
      # raise(Thor::Error, "Not found:  #{node_name} in #{stage_name}.")
      nil
    end
find node by full node_name or by matching prefix of node_name