greg
f2e0a0929a
Update garage-16 node file after Chef run
2026-07-13 16:59:19 +02:00
greg
12948be193
Do not manually save node data
...
It is not needed
2026-07-13 16:58:47 +02:00
greg
df4f1236de
Clean up white list attributes in client.rb
...
Both old and new styles. We define our allow list in the client.d file
2026-07-13 16:57:24 +02:00
greg
db69e437d5
Remove sanitize node script and pre-commit hook
...
This is no longer needed with the properly set allowed attributes
2026-07-11 20:08:58 +02:00
greg
663c4da0a0
Update the prometheus-1 node after running Chef
...
It now contains the attributes from the ohai plugin
2026-07-11 17:35:04 +02:00
greg
010e2d0d64
Add zerotier ohai plugin to the base role
2026-07-11 17:34:39 +02:00
greg
065eac06b1
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
2026-07-11 17:29:31 +02:00
greg
1759af98b8
Simplify and improve chef attribute handling
...
Set the attributes in a Ruby file under /etc/chef/client.d/ instead of
editing /etc/chef/client.rb
Now uses the new whitelist attribute:
https://docs.chef.io/client/19/cookbooks/attributes/attribute_persistence/
Local chef config also uses the same file. That means there is no longer
a need to use the sanitize script to remove override and default
attributes from nodes.
2026-07-11 17:28:03 +02:00