Beispiel #1
0
class BaseCompressedMunkiModel(BaseModel):
    """Base class for Munki related models."""

    name = db.StringProperty()
    mtime = db.DateTimeProperty(auto_now=True)
    # catalog/manifest/pkginfo plist file.
    plist = properties.CompressedUtf8BlobProperty()
Beispiel #2
0
class ClientLogFile(db.Model):
    """Store client log files, like ManagedSoftwareUpdate.log.

  key = uuid + mtime
  """

    uuid = db.StringProperty()  # computer uuid
    name = db.StringProperty()  # log name
    mtime = db.DateTimeProperty(auto_now_add=True)
    log_file = properties.CompressedUtf8BlobProperty()