Switch from create_resources() to .each #106
Annotations
4 errors
spec/unit/classes/lvm_spec.rb#L104
lvm with a swap volume is expected to contain Logical_volume[swap] with volume_group => "myvg" and size => "20G"
Failure/Error:
expect(subject).to contain_logical_volume('swap').with(volume_group: 'myvg',
size: '20G')
Puppet::PreformattedError:
Evaluation Error: Error while evaluating a Resource Statement, Evaluation Error: The attribute 'ensure' has already been set (file: /home/runner/work/puppetlabs-lvm/puppetlabs-lvm/spec/fixtures/modules/lvm/manifests/volume_group.pp, line: 45, column: 5) (file: /home/runner/work/puppetlabs-lvm/puppetlabs-lvm/spec/fixtures/modules/lvm/manifests/init.pp, line: 19) on node fv-az198-873.0ysmxxqiubsuhd4iogyozapjld.dx.internal.cloudapp.net
|
spec/unit/classes/lvm_spec.rb#L109
lvm with a swap volume is expected to contain Filesystem[/dev/myvg/swap] with fs_type => "swap"
Failure/Error: expect(subject).to contain_filesystem('/dev/myvg/swap').with(fs_type: 'swap')
Puppet::PreformattedError:
Evaluation Error: Error while evaluating a Resource Statement, Evaluation Error: The attribute 'ensure' has already been set (file: /home/runner/work/puppetlabs-lvm/puppetlabs-lvm/spec/fixtures/modules/lvm/manifests/volume_group.pp, line: 45, column: 5) (file: /home/runner/work/puppetlabs-lvm/puppetlabs-lvm/spec/fixtures/modules/lvm/manifests/init.pp, line: 19) on node fv-az198-873.0ysmxxqiubsuhd4iogyozapjld.dx.internal.cloudapp.net
|
spec/unit/classes/lvm_spec.rb#L113
lvm with a swap volume is expected to contain Mount[/dev/myvg/swap] with name => "swap_/dev/myvg/swap", ensure => "present", fstype => "swap", pass => 0 and dump => 0
Failure/Error:
expect(subject).to contain_mount('/dev/myvg/swap').with(name: 'swap_/dev/myvg/swap',
ensure: 'present',
fstype: 'swap',
pass: 0,
dump: 0)
Puppet::PreformattedError:
Evaluation Error: Error while evaluating a Resource Statement, Evaluation Error: The attribute 'ensure' has already been set (file: /home/runner/work/puppetlabs-lvm/puppetlabs-lvm/spec/fixtures/modules/lvm/manifests/volume_group.pp, line: 45, column: 5) (file: /home/runner/work/puppetlabs-lvm/puppetlabs-lvm/spec/fixtures/modules/lvm/manifests/init.pp, line: 19) on node fv-az198-873.0ysmxxqiubsuhd4iogyozapjld.dx.internal.cloudapp.net
|
|
The logs for this run have expired and are no longer available.
Loading