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 = <<-EOF
You are missing a default node definition in your site.pp that is required for compilation.
Please ensure you have at least the following default node definition
  node default {
    # include classes here
  }
in your #{data[:default_site_manifest]} file.
EOF
  out.fatal
end