Exception: PuppetDebugger::Exception::NodeDefinitionError

Inherits:
FatalError
  • Object
show all
Defined in:
lib/puppet-debugger/support/errors.rb

Instance Attribute Summary

Attributes inherited from Error

#data

Instance Method Summary collapse

Methods inherited from Error

#initialize

Constructor Details

This class inherits a constructor from PuppetDebugger::Exception::Error

Instance Method Details

#messageObject



61
62
63
64
65
66
67
68
69
70
71
# File 'lib/puppet-debugger/support/errors.rb', line 61

def message
  out = "You are missing a default node definition in your site.pp that is required for compilation.\nPlease ensure you have at least the following default node definition\n  node default {\n    # include classes here\n  }\nin your \#{data[:default_site_manifest]} file.\n"
  out.fatal
end