ClusterConf - file /etc/cluster/cluster.conf

Stores a filtered set of lines from the cluster config file. Because of the filtering, the content as a whole will not parse as XML. We use a insights.core.LogFileOutput parser class because, sadly, it’s easiest.

class insights.parsers.cluster_conf.ClusterConf(context)[source]

Bases: insights.core.LogFileOutput

Parse the /etc/cluster/cluster.conf file as a list of lines. get can be used to find lines containing one or more keywords. Because of filters used on this file, we cannot parse this as XML.