Exception: PuppetRepl::Exception::NodeDefinitionError
- Inherits:
-
FatalError
- Object
- StandardError
- Error
- FatalError
- PuppetRepl::Exception::NodeDefinitionError
- Defined in:
- lib/puppet-repl/support/errors.rb
Instance Attribute Summary
Attributes inherited from Error
Instance Method Summary collapse
Methods inherited from Error
Constructor Details
This class inherits a constructor from PuppetRepl::Exception::Error
Instance Method Details
#message ⇒ Object
52 53 54 55 56 57 58 59 60 61 62 |
# File 'lib/puppet-repl/support/errors.rb', line 52 def 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 |