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 df4f1236de - Show all commits
@@ -6,8 +6,9 @@
ruby_block "cleanup client.rb" do
block do
fe = Chef::Util::FileEdit.new("/etc/chef/client.rb")
# Delete old attributes, replaced by allow_*_attributes
# Delete whitelist attribute definitions, everything is defined in attributes.rb
fe.search_file_delete_line(/^.*_attribute_whitelist.*/)
fe.search_file_delete_line(/^allowed_.*_attributes.*/)
fe.write_file
end
end