Skip to content
Dan Langille edited this page Nov 1, 2019 · 1 revision

This is sample JSON which would be pushed to the service

{
  "name": "foo.example.org",
  "os": "FreeBSD",
  "version": "12.0-RELEASE-p8",
  "repo": "http://pkg.freebsd.org/FreeBSD:12:amd64/latest/",
  "packages": [
      "apr-1.6.5.1.6.1_1",
      "bacula9-client-9.4.3",
      "bash-5.0.7",
      "rsync-3.1.3_1",
      "serf-1.3.9_3",
      "sqlite3-3.29.0_1"
    ]
}

Why JSON?

JSON was chosen to simplify the data parsing at the server.

On the client-side, there are many tools available for JSON construction.

Also note, the JSON does not need to be constructed on the server from which it is collected. That can be done centrally if you prefer. That's all part of the consicous design decisions for SamDrucker.

Clone this wiki locally