Add a recipe to install the zerotier ohai plugin #647

Merged
raucao merged 8 commits from feature/ohai_zerotier into master 2026-07-13 15:00:48 +00:00
Showing only changes of commit 12948be193 - Show all commits
@@ -8,14 +8,4 @@ include_recipe "zerotier::ohai_plugin"
ohai "reload_zerotier" do
action :reload
plugin "zerotier"
notifies :run, "ruby_block[save_chef_zero_node]", :delayed
end
# Force save the node back to disk in Chef Zero
ruby_block "save_chef_zero_node" do
block do
node.save
Chef::Log.info("Node #{node.name} saved to disk with ZeroTier data")
end
action :nothing
end