Merge "Add back unit tests with Puppet 5 + CentOS 8 Stream"
This commit is contained in:
commit
8901fe0f58
15
.zuul.yaml
15
.zuul.yaml
|
@ -5,3 +5,18 @@
|
||||||
- puppet-openstack-integration-jobs-scenario001
|
- puppet-openstack-integration-jobs-scenario001
|
||||||
- puppet-openstack-integration-jobs-scenario004
|
- puppet-openstack-integration-jobs-scenario004
|
||||||
- release-notes-jobs-python3
|
- release-notes-jobs-python3
|
||||||
|
check:
|
||||||
|
jobs:
|
||||||
|
- puppet-ceph-unit-5.5-centos-8-stream
|
||||||
|
gate:
|
||||||
|
jobs:
|
||||||
|
- puppet-ceph-unit-5.5-centos-8-stream
|
||||||
|
- job:
|
||||||
|
name: puppet-ceph-unit-5.5-centos-8-stream
|
||||||
|
parent: puppet-openstack-unit-base
|
||||||
|
nodeset: centos-8-stream
|
||||||
|
# stable/ussuri is the last release with Puppet 5.x support
|
||||||
|
override-checkout: stable/ussuri
|
||||||
|
vars:
|
||||||
|
puppet_gem_version: 5.5.0
|
||||||
|
rspec_puppet_version: '= 2.9.0'
|
||||||
|
|
|
@ -43,7 +43,9 @@ describe provider_class do
|
||||||
} }
|
} }
|
||||||
|
|
||||||
def validate(expected)
|
def validate(expected)
|
||||||
expect(File.read(tmpfile)).to eq(expected)
|
# NOTE(tkajinam): Remove heading \n to fix an issue with Puppet 5
|
||||||
|
# + CentOS8 Stream.
|
||||||
|
expect(File.read(tmpfile).gsub(/^\n/, '')).to eq(expected)
|
||||||
end
|
end
|
||||||
|
|
||||||
it 'should create keys = value and ensure space around equals' do
|
it 'should create keys = value and ensure space around equals' do
|
||||||
|
|
Loading…
Reference in New Issue