Puppet 8 support #12
pr.yml
on: pull_request
Syntax validation
23s
Unit tests
1m 1s
Unit tests Legacy Puppet
52s
Annotations
21 errors
Unit tests Legacy Puppet
Process completed with exit code 1.
|
Unit tests:
spec/defines/info_spec.rb#L21
puppi::info on redhat-8-x86_64 Test puppi info step file creation should create a puppi::info step file
Failure/Error: should contain_file('/etc/puppi/info/sample').with_ensure('present')
expected that the catalogue would contain File[/etc/puppi/info/sample] with ensure set to "present" but it is set to "file"
|
Unit tests:
spec/defines/info_spec.rb#L24
puppi::info on redhat-8-x86_64 Test puppi info step file creation should populate correctly the puppi::info step file
Failure/Error: should contain_file('/etc/puppi/info/sample').with_content(/myownscript/)
expected that the catalogue would contain File[/etc/puppi/info/sample] with content set to /myownscript/ but it is set to "#!/bin/bash\n# Sample Info\n# Script generated by Puppet. It's executed when you run:\n# puppi info sample\n#\n# Sources common header for Puppi scripts\n. /etc/puppi/scripts/header || exit 10\n\necho_title \"$HOSTNAME - Sample Info\"\nshow_command \"m\"\nshow_command \"y\"\nshow_command \"o\"\nshow_command \"w\"\nshow_command \"n\"\nshow_command \"s\"\nshow_command \"c\"\nshow_command \"r\"\nshow_command \"i\"\nshow_command \"p\"\nshow_command \"t\"\n\n"
Diff:
@@ -1,20 +1,39 @@
-(?-mix:myownscript)
+#!/bin/bash
+# Sample Info
+# Script generated by Puppet. It's executed when you run:
+# puppi info sample
+#
+# Sources common header for Puppi scripts
+. /etc/puppi/scripts/header || exit 10
+
+echo_title "$HOSTNAME - Sample Info"
+show_command "m"
+show_command "y"
+show_command "o"
+show_command "w"
+show_command "n"
+show_command "s"
+show_command "c"
+show_command "r"
+show_command "i"
+show_command "p"
+show_command "t"
|
Unit tests:
spec/defines/install_packages_spec.rb#L15
puppi::install_packages on redhat-8-x86_64 is expected to compile into a catalogue without dependency cycles
Failure/Error: it { is_expected.to compile }
error during compilation: Evaluation Error: Error while evaluating a Resource Statement, Puppi::Install_packages[namevar]: expects a value for parameter 'packages' (line: 3) on node rspec.example42.com
|
Unit tests:
spec/defines/log_spec.rb#L19
puppi::log on redhat-8-x86_64 Test puppi log file creation should create a puppi::log file
Failure/Error: should contain_file('/etc/puppi/logs/mylog').with_ensure('present')
expected that the catalogue would contain File[/etc/puppi/logs/mylog] with ensure set to "present" but it is set to "file"
|
Unit tests:
spec/defines/log_spec.rb#L22
puppi::log on redhat-8-x86_64 Test puppi log file creation should populate correctly the puppi::log step file
Failure/Error: should contain_file('/etc/puppi/logs/mylog').with_content(/mylog.log/)
expected that the catalogue would contain File[/etc/puppi/logs/mylog] with content set to /mylog.log/ but it is set to "/\nv\na\nr\n/\nl\no\ng\n/\nm\ny\nl\no\ng\n.\nl\no\ng\n\n"
Diff:
@@ -1,18 +1,35 @@
-(?-mix:mylog.log)
+/
+v
+a
+r
+/
+l
+o
+g
+/
+m
+y
+l
+o
+g
+.
+l
+o
+g
|
Unit tests:
spec/defines/netinstall_spec.rb#L18
puppi::netinstall on redhat-8-x86_64 is expected to compile into a catalogue without dependency cycles
Failure/Error: it { is_expected.to compile }
error during compilation: Evaluation Error: Error while evaluating a Resource Statement, Puppi::Netinstall[namevar]:
has no parameter named 'destination_url'
expects a value for parameter 'destination_dir' (line: 3) on node rspec.example42.com
|
Unit tests:
spec/defines/project_spec.rb#L20
puppi::project on redhat-8-x86_64 Test puppi report step file creation should create a puppi::report step file
Failure/Error: should contain_file('/etc/puppi/projects/myapp/report/50-get').with_ensure('present')
expected that the catalogue would contain File[/etc/puppi/projects/myapp/report/50-get]
|
Unit tests:
spec/defines/project_spec.rb#L23
puppi::project on redhat-8-x86_64 Test puppi report step file creation should populate correctly the puppi::report step file
Failure/Error: should contain_file('/etc/puppi/projects/myapp/report/50-get').with_content("su - root -c \"export project=myapp && /etc/puppi/scripts/echo \"\n")
expected that the catalogue would contain File[/etc/puppi/projects/myapp/report/50-get]
|
Unit tests:
spec/defines/todo_spec.rb#L21
puppi::todo on redhat-8-x86_64 Test puppi todo file creation should create a puppi::todo file
Failure/Error: should contain_file('/etc/puppi/todo/mytodo').with_ensure('present')
expected that the catalogue would contain File[/etc/puppi/todo/mytodo] with ensure set to "present" but it is set to "file"
|
Unit tests
Process completed with exit code 1.
|
Unit tests:
spec/defines/info_spec.rb#L21
puppi::info on redhat-8-x86_64 Test puppi info step file creation should create a puppi::info step file
Failure/Error: should contain_file('/etc/puppi/info/sample').with_ensure('present')
expected that the catalogue would contain File[/etc/puppi/info/sample] with ensure set to "present" but it is set to "file"
|
Unit tests:
spec/defines/info_spec.rb#L24
puppi::info on redhat-8-x86_64 Test puppi info step file creation should populate correctly the puppi::info step file
Failure/Error: should contain_file('/etc/puppi/info/sample').with_content(/myownscript/)
expected that the catalogue would contain File[/etc/puppi/info/sample] with content set to /myownscript/ but it is set to "#!/bin/bash\n# Sample Info\n# Script generated by Puppet. It's executed when you run:\n# puppi info sample\n#\n# Sources common header for Puppi scripts\n. /etc/puppi/scripts/header || exit 10\n\necho_title \"$HOSTNAME - Sample Info\"\nshow_command \"m\"\nshow_command \"y\"\nshow_command \"o\"\nshow_command \"w\"\nshow_command \"n\"\nshow_command \"s\"\nshow_command \"c\"\nshow_command \"r\"\nshow_command \"i\"\nshow_command \"p\"\nshow_command \"t\"\n\n"
Diff:
@@ -1,20 +1,39 @@
-(?-mix:myownscript)
+#!/bin/bash
+# Sample Info
+# Script generated by Puppet. It's executed when you run:
+# puppi info sample
+#
+# Sources common header for Puppi scripts
+. /etc/puppi/scripts/header || exit 10
+
+echo_title "$HOSTNAME - Sample Info"
+show_command "m"
+show_command "y"
+show_command "o"
+show_command "w"
+show_command "n"
+show_command "s"
+show_command "c"
+show_command "r"
+show_command "i"
+show_command "p"
+show_command "t"
|
Unit tests:
spec/defines/install_packages_spec.rb#L15
puppi::install_packages on redhat-8-x86_64 is expected to compile into a catalogue without dependency cycles
Failure/Error: it { is_expected.to compile }
error during compilation: Evaluation Error: Error while evaluating a Resource Statement, Puppi::Install_packages[namevar]: expects a value for parameter 'packages' (line: 3) on node rspec.example42.com
|
Unit tests:
spec/defines/log_spec.rb#L19
puppi::log on redhat-8-x86_64 Test puppi log file creation should create a puppi::log file
Failure/Error: should contain_file('/etc/puppi/logs/mylog').with_ensure('present')
expected that the catalogue would contain File[/etc/puppi/logs/mylog] with ensure set to "present" but it is set to "file"
|
Unit tests:
spec/defines/log_spec.rb#L22
puppi::log on redhat-8-x86_64 Test puppi log file creation should populate correctly the puppi::log step file
Failure/Error: should contain_file('/etc/puppi/logs/mylog').with_content(/mylog.log/)
expected that the catalogue would contain File[/etc/puppi/logs/mylog] with content set to /mylog.log/ but it is set to "/\nv\na\nr\n/\nl\no\ng\n/\nm\ny\nl\no\ng\n.\nl\no\ng\n\n"
Diff:
@@ -1,18 +1,35 @@
-(?-mix:mylog.log)
+/
+v
+a
+r
+/
+l
+o
+g
+/
+m
+y
+l
+o
+g
+.
+l
+o
+g
|
Unit tests:
spec/defines/netinstall_spec.rb#L18
puppi::netinstall on redhat-8-x86_64 is expected to compile into a catalogue without dependency cycles
Failure/Error: it { is_expected.to compile }
error during compilation: Evaluation Error: Error while evaluating a Resource Statement, Puppi::Netinstall[namevar]:
has no parameter named 'destination_url'
expects a value for parameter 'destination_dir' (line: 3) on node rspec.example42.com
|
Unit tests:
spec/defines/project_spec.rb#L20
puppi::project on redhat-8-x86_64 Test puppi report step file creation should create a puppi::report step file
Failure/Error: should contain_file('/etc/puppi/projects/myapp/report/50-get').with_ensure('present')
expected that the catalogue would contain File[/etc/puppi/projects/myapp/report/50-get]
|
Unit tests:
spec/defines/project_spec.rb#L23
puppi::project on redhat-8-x86_64 Test puppi report step file creation should populate correctly the puppi::report step file
Failure/Error: should contain_file('/etc/puppi/projects/myapp/report/50-get').with_content("su - root -c \"export project=myapp && /etc/puppi/scripts/echo \"\n")
expected that the catalogue would contain File[/etc/puppi/projects/myapp/report/50-get]
|
Unit tests:
spec/defines/todo_spec.rb#L21
puppi::todo on redhat-8-x86_64 Test puppi todo file creation should create a puppi::todo file
Failure/Error: should contain_file('/etc/puppi/todo/mytodo').with_ensure('present')
expected that the catalogue would contain File[/etc/puppi/todo/mytodo] with ensure set to "present" but it is set to "file"
|
Unit tests
Process completed with exit code 1.
|