Add a recipe to install the zerotier ohai plugin

The attributes are saved as "automatic" attributes and look like this:

  "zerotier": {
    "version": "1.16.2",
    "node_id": "NODEID",
    "networks": {
      "NETWORKID": {
        "network_name": "networkname",
        "mac": "ff:ff:ff:ff:ff:ff",
        "status": "OK",
        "type": "PRIVATE",
        "interface": "abcdefg",
        "addresses": [
          "10.1.1.255/24"
        ]
      }
    }
  }

Refs #263
This commit is contained in:
2026-07-11 17:29:31 +02:00
parent 1759af98b8
commit 065eac06b1
2 changed files with 23 additions and 1 deletions
+2 -1
View File
@@ -4,7 +4,8 @@ maintainer_email 'mail@kosmos.org'
license 'MIT'
description 'Installs/Configures zerotier'
long_description 'Installs/Configures zerotier'
version '0.1.0'
version '0.2.0'
chef_version '>= 14.0'
depends 'kosmos-base'
depends 'zerotier'