Displaying 1 result from an estimated 1 matches for "sym_constructor".
2010 Sep 28
13
Reading Puppet reports with Python
Has anyone got/seen Python code to read puppet reports?
I added a bunch of these:
class PuppetReport(yaml.YAMLObject):
yaml_tag = u''!ruby/object:Puppet::Transaction::Report''
def __init__(self, host, logs, metrics, records, time):
self.host = host
self.logs = logs
self.metrics = metrics
self.records = records
self.time = time
However, the Python YAML