Port code to Puppet 7 and 8 #35
Annotations
10 errors
Run tests:
spec/defines/files_spec.rb#L25
swap_file::files on centos-7-x86_64 default parameters is expected to compile into a catalogue without dependency cycles
Failure/Error: is_expected.to compile.with_all_deps
error during compilation: Evaluation Error: Resource type not found: Bootlan (file: /home/runner/work/puppet-swap_file/puppet-swap_file/spec/fixtures/modules/swap_file/manifests/files.pp, line: 42, column: 3) on node fv-az523-365.sep422n2mygejbgjkrbwxz25qb.ex.internal.cloudapp.net
|
Run tests:
spec/defines/files_spec.rb#L29
swap_file::files on centos-7-x86_64 default parameters is expected to contain Exec[Create swap file /mnt/swap.1] with command => "/bin/dd if=/dev/zero of=/mnt/swap.1 bs=1M count=1024" and creates => "/mnt/swap.1"
Failure/Error:
is_expected.to contain_exec('Create swap file /mnt/swap.1').
with('command' => '/bin/dd if=/dev/zero of=/mnt/swap.1 bs=1M count=1024',
'creates' => '/mnt/swap.1')
Puppet::PreformattedError:
Evaluation Error: Resource type not found: Bootlan (file: /home/runner/work/puppet-swap_file/puppet-swap_file/spec/fixtures/modules/swap_file/manifests/files.pp, line: 42, column: 3) on node fv-az523-365.sep422n2mygejbgjkrbwxz25qb.ex.internal.cloudapp.net
|
Run tests:
spec/defines/files_spec.rb#L35
swap_file::files on centos-7-x86_64 default parameters is expected to contain File[/mnt/swap.1] with owner => "root", group => "root", mode => "0600" and require => "Exec[Create swap file /mnt/swap.1]"
Failure/Error:
is_expected.to contain_file('/mnt/swap.1').
with('owner' => 'root',
'group' => 'root',
'mode' => '0600',
'require' => 'Exec[Create swap file /mnt/swap.1]')
Puppet::PreformattedError:
Evaluation Error: Resource type not found: Bootlan (file: /home/runner/work/puppet-swap_file/puppet-swap_file/spec/fixtures/modules/swap_file/manifests/files.pp, line: 42, column: 3) on node fv-az523-365.sep422n2mygejbgjkrbwxz25qb.ex.internal.cloudapp.net
|
Run tests:
spec/classes/init_spec.rb#L38
swap_file on centos-7-x86_64 with files set to valid hash is expected to compile into a catalogue without dependency cycles
Failure/Error: it { is_expected.to compile.with_all_deps }
error during compilation: Evaluation Error: Resource type not found: Bootlan (file: /home/runner/work/puppet-swap_file/puppet-swap_file/spec/fixtures/modules/swap_file/manifests/files.pp, line: 42, column: 3) on node fv-az523-365.sep422n2mygejbgjkrbwxz25qb.ex.internal.cloudapp.net
|
Run tests:
spec/defines/files_spec.rb#L43
swap_file::files on centos-7-x86_64 default parameters is expected to contain Swap_file[/mnt/swap.1]
Failure/Error: is_expected.to contain_swap_file('/mnt/swap.1')
Puppet::PreformattedError:
Evaluation Error: Resource type not found: Bootlan (file: /home/runner/work/puppet-swap_file/puppet-swap_file/spec/fixtures/modules/swap_file/manifests/files.pp, line: 42, column: 3) on node fv-az523-365.sep422n2mygejbgjkrbwxz25qb.ex.internal.cloudapp.net
|
Run tests:
spec/classes/init_spec.rb#L39
swap_file on centos-7-x86_64 with files set to valid hash is expected to contain Class[swap_file]
Failure/Error: it { is_expected.to contain_class('swap_file') }
Puppet::PreformattedError:
Evaluation Error: Resource type not found: Bootlan (file: /home/runner/work/puppet-swap_file/puppet-swap_file/spec/fixtures/modules/swap_file/manifests/files.pp, line: 42, column: 3) on node fv-az523-365.sep422n2mygejbgjkrbwxz25qb.ex.internal.cloudapp.net
|
Run tests:
spec/defines/files_spec.rb#L47
swap_file::files on centos-7-x86_64 default parameters is expected to contain Mount[/mnt/swap.1] with require => "Swap_file[/mnt/swap.1]"
Failure/Error:
is_expected.to contain_mount('/mnt/swap.1').
with('require' => 'Swap_file[/mnt/swap.1]')
Puppet::PreformattedError:
Evaluation Error: Resource type not found: Bootlan (file: /home/runner/work/puppet-swap_file/puppet-swap_file/spec/fixtures/modules/swap_file/manifests/files.pp, line: 42, column: 3) on node fv-az523-365.sep422n2mygejbgjkrbwxz25qb.ex.internal.cloudapp.net
|
Run tests:
spec/classes/init_spec.rb#L41
swap_file on centos-7-x86_64 with files set to valid hash is expected to contain exactly 10 resources
Failure/Error: it { is_expected.to have_resource_count(10) }
Puppet::PreformattedError:
Evaluation Error: Resource type not found: Bootlan (file: /home/runner/work/puppet-swap_file/puppet-swap_file/spec/fixtures/modules/swap_file/manifests/files.pp, line: 42, column: 3) on node fv-az523-365.sep422n2mygejbgjkrbwxz25qb.ex.internal.cloudapp.net
|
Run tests:
spec/defines/files_spec.rb#L60
swap_file::files on centos-7-x86_64 custom swapfilesize parameter is expected to compile into a catalogue without dependency cycles
Failure/Error: is_expected.to compile.with_all_deps
error during compilation: Evaluation Error: Resource type not found: Bootlan (file: /home/runner/work/puppet-swap_file/puppet-swap_file/spec/fixtures/modules/swap_file/manifests/files.pp, line: 42, column: 3) on node fv-az523-365.sep422n2mygejbgjkrbwxz25qb.ex.internal.cloudapp.net
|
Run tests:
spec/classes/init_spec.rb#L43
swap_file on centos-7-x86_64 with files set to valid hash is expected to contain Swap_file::Files[swap] with ensure => "present"
Failure/Error:
is_expected.to contain_swap_file__files('swap').with({
'ensure' => 'present',
})
Puppet::PreformattedError:
Evaluation Error: Resource type not found: Bootlan (file: /home/runner/work/puppet-swap_file/puppet-swap_file/spec/fixtures/modules/swap_file/manifests/files.pp, line: 42, column: 3) on node fv-az523-365.sep422n2mygejbgjkrbwxz25qb.ex.internal.cloudapp.net
|
The logs for this run have expired and are no longer available.
Loading