From 40423f8b896a64bf5f70d36a256dc54386a17409 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Tue, 24 Feb 2026 22:00:27 +0000 Subject: [PATCH] Add the cinc ohai plugin directory to the path --- cookbooks/chef/templates/default/client.rb.erb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cookbooks/chef/templates/default/client.rb.erb b/cookbooks/chef/templates/default/client.rb.erb index 90e9f20d9..55bb4e59e 100644 --- a/cookbooks/chef/templates/default/client.rb.erb +++ b/cookbooks/chef/templates/default/client.rb.erb @@ -33,6 +33,10 @@ ssl_verify_mode :verify_peer chef_server_url "https://chef.openstreetmap.org/organizations/openstreetmap" +# Help ohai find out plugins + +ohai.plugin_path << "/etc/<%= @chef_name %>/ohai/plugins" + # Enable some optional ohai plugins ohai.optional_plugins = %w[Passwd] -- 2.47.3