Use native cloud-init modules to register a host with subman #1784
Annotations
3 errors
Run rake test:units:
test/unit/foreman/renderer_test.rb#L39
Failure: test_0002_rendered CloudInit default template should match snapshots
Foreman::Renderer::Errors::SyntaxError: ERF22-6132 [Foreman::Renderer::Errors::SyntaxError]: Syntax error occurred while parsing the template CloudInit default, make sure you have all ERB tags properly closed and the Ruby syntax is valid. The Ruby error: CloudInit default:79: syntax error, unexpected end-of-input, expecting `end'
app/services/foreman/renderer/unsafe_mode_renderer.rb:7:in `render'
app/services/foreman/renderer/base_renderer.rb:18:in `render'
app/services/foreman/renderer.rb:46:in `render'
app/services/foreman/template_snapshot_service.rb:61:in `render_template'
test/unit/foreman/renderer_test.rb:49:in `block in assert_template'
test/unit/foreman/renderer_test.rb:47:in `each'
test/unit/foreman/renderer_test.rb:47:in `assert_template'
test/unit/foreman/renderer_test.rb:39:in `block (3 levels) in <class:RendererTest>'
|
Run rake test:units:
test/unit/foreman/renderer_test.rb#L27
Failure: test_0002_rendered CloudInit default template should match snapshots
Foreman::Renderer::Errors::SyntaxError: ERF22-6132 [Foreman::Renderer::Errors::SyntaxError]: Syntax error occurred while parsing the template CloudInit default, make sure you have all ERB tags properly closed and the Ruby syntax is valid. The Ruby error: (string):80 :: parse error on value "$" ($end)
app/services/foreman/renderer/safe_mode_renderer.rb:7:in `render'
app/services/foreman/renderer/base_renderer.rb:18:in `render'
app/services/foreman/renderer.rb:46:in `render'
app/services/foreman/template_snapshot_service.rb:61:in `render_template'
test/unit/foreman/renderer_test.rb:49:in `block in assert_template'
test/unit/foreman/renderer_test.rb:47:in `each'
test/unit/foreman/renderer_test.rb:47:in `assert_template'
test/unit/foreman/renderer_test.rb:27:in `block (3 levels) in <class:RendererTest>'
|
Run rake test:units
Process completed with exit code 1.
|
Loading