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.TextFileOutput parser class because, sadly, it’s
easiest.
- class insights.parsers.cluster_conf.ClusterConf(context)[source]
Bases:
TextFileOutputParse the
/etc/cluster/cluster.conffile as a list of lines.getcan be used to find lines containing one or more keywords. Because of filters used on this file, we cannot parse this as XML.