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