'connections are special, this takes care of responding correctly'

def _get_attr_connection(self):

    conn_type = None
    if (self._attributes['connection'] == 'smart'):
        conn_type = 'ssh'
        if (sys.platform.startswith('darwin') and self.password):
            conn_type = 'paramiko'
        elif (not check_for_controlpersist(self.ssh_executable)):
            conn_type = 'paramiko'
    elif (self._attributes['connection'] == 'persistent'):
        conn_type = 'paramiko'
    if conn_type:
        self.connection = conn_type
    return self._attributes['connection']
