class PluginBinding::NoNodeDataProvidedToTemplatePlugin
Public Instance Methods
message()
click to toggle source
# File lib/chefspec/ohai.rb, line 100 def message "The Ohai plugin attempted to retrieve an attribute from the `node` object. However, no node attributes were defined in the template_variables helper. Add a template_variables helper within your ohai plugin specification and include a `node` key that returns the data you need to satisfy the requirements of your plugin. Example: let(:template_variables) do { node: { 'ipaddress' => '127.0.0.1' } } end" end