def get_nm_node_yaml(nm_host, node_name, ssl_verify=False, verbose=False):
    '\n    Get the raw ENC YAML for a given node\n\n    :param nm_host: NodeMeister hostname or IP\n    :type nm_host: string\n    :param node_name: name of the node to get YAML for\n    :type node_name: string\n    :param ssl_verify: whether or not to verify SSL certificate, default False\n    :type ssl_verify: boolean\n    :rtype: string\n    :returns: raw YAML string, or None\n    '
    nm_url = ('http://%s/enc/puppet/%s' % (nm_host, node_name))
    r = requests.get(nm_url, headers={'Accept': 'text/yaml'}, verify=ssl_verify)
    if (r.status_code == 200):
        return r.content
    else:
        logger.error('got status code {s} for {u}'.format(s=r.status_code, u=nm_url))
    return None
Get the raw ENC YAML for a given node

:param nm_host: NodeMeister hostname or IP
:type nm_host: string
:param node_name: name of the node to get YAML for
:type node_name: string
:param ssl_verify: whether or not to verify SSL certificate, default False
:type ssl_verify: boolean
:rtype: string
:returns: raw YAML string, or None
def get_nm_node_yaml(nm_host, node_name, ssl_verify=False, verbose=False):
    '\n    Get the raw ENC YAML for a given node\n\n    :param nm_host: NodeMeister hostname or IP\n    :type nm_host: string\n    :param node_name: name of the node to get YAML for\n    :type node_name: string\n    :param ssl_verify: whether or not to verify SSL certificate, default False\n    :type ssl_verify: boolean\n    :rtype: string\n    :returns: raw YAML string, or None\n    '
    nm_url = ('http://%s/enc/puppet/%s' % (nm_host, node_name))
    r = requests.get(nm_url, headers={'Accept': 'text/yaml'}, verify=ssl_verify)
    if (r.status_code == 200):
        return r.content
    else:
        logger.error('got status code {s} for {u}'.format(s=r.status_code, u=nm_url))
    return None