Use Ohai plugin to store zerotier node info #263

Open
opened 2020-12-11 16:50:38 +00:00 by raucao · 2 comments
Owner

At least IP address and client ID.

At least IP address and client ID.
raucao added the
dev environment
label 2020-12-11 16:50:38 +00:00
raucao changed title from Create Ohai plugin to store zerotier node info in custom attributes to Use Ohai plugin to store zerotier node info 2021-01-18 12:16:09 +00:00
Author
Owner

Turns out their official Chef cookbook already comes with an Ohai plugin: https://github.com/zerotier/chef-zerotier

And it also comes with recipes for joining networks and such, in case we need it later.

Turns out their official Chef cookbook already comes with an Ohai plugin: https://github.com/zerotier/chef-zerotier And it also comes with recipes for joining networks and such, in case we need it later.
Author
Owner

We recently found the problem with the attribute whitelist that prevented us from finishing this task. It's that knife zero is not changing the whitelist in the local knife config on the machine when it changes in the Chef repo after bootstrapping the node.

We recently found the problem with the attribute whitelist that prevented us from finishing this task. It's that knife zero is not changing the whitelist in the local knife config on the machine when it changes in the Chef repo after bootstrapping the node.
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: kosmos/chef#263
No description provided.