community-cookbooks/ohai/resources/plugin.rb
# we need to warn the user that unless the path for this plugin is in Ohai's
# plugin path already we're going to have to reload Ohai on every Chef run.
# Ideally in future versions of Ohai /etc/chef/ohai/plugins is in the path.
we need to warn the user that unless the path for this plugin is in Ohai's
plugin path already we're going to have to reload Ohai on every Chef run.
Ideally in future versions of Ohai /etc/chef/ohai/plugins is in the path.
we need to warn the user that unless the path for this plugin is in Ohai ' s plugin path already we ' re going to have to reload Ohai on every Chef run . Ideally in future versions of Ohai / etc / chef / ohai / plugins is in the path .
def plugin_path_warning
    Chef::Log.warn("The Ohai plugin_path does not include #{desired_plugin_path}. \
Ohai will reload on each chef-client run in order to add this directory to the \
path unless you modify your client.rb configuration to add this directory to \
plugin_path. The plugin_path can be set via the chef-client::config recipe. \
See 'Ohai Settings' at https://docs.chef.io/config_rb_client.html#ohai-settings \
for more details.")
  end
def plugin_path_warning Chef :: Log . warn ( "The Ohai plugin_path does not include #{desired_plugin_path}. \
Ohai will reload on each chef-client run in order to add this directory to the \
path unless you modify your client.rb configuration to add this directory to \
plugin_path. The plugin_path can be set via the chef-client::config recipe. \
See 'Ohai Settings' at https://docs.chef.io/config_rb_client.html#ohai-settings \
for more details." ) end
we need to warn the user that unless the path for this plugin is in Ohai's
plugin path already we're going to have to reload Ohai on every Chef run.
we need to warn the user that unless the path for this plugin is in Ohai ' s plugin path already we ' re going to have to reload Ohai on every Chef run .