From 12948be19340cd6175a3556e118a81042d55fb01 Mon Sep 17 00:00:00 2001 From: Greg Karekinian Date: Mon, 13 Jul 2026 16:58:47 +0200 Subject: [PATCH] Do not manually save node data It is not needed --- site-cookbooks/kosmos_zerotier/recipes/ohai_plugin.rb | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/site-cookbooks/kosmos_zerotier/recipes/ohai_plugin.rb b/site-cookbooks/kosmos_zerotier/recipes/ohai_plugin.rb index 4c89447..36a606a 100644 --- a/site-cookbooks/kosmos_zerotier/recipes/ohai_plugin.rb +++ b/site-cookbooks/kosmos_zerotier/recipes/ohai_plugin.rb @@ -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