This reverts commit f4a4d65822f08dd8977a50cd3e50178ec0960c91.
Reason for revert:
puppet-postgresql 8.1.0 was released and now the module supports RHEL 9
(and CentOS 9 effectively).
Note:
This change adds the service_provider fact in test fact data because
it is required by puppet-postgresql.
Depends-on: https://review.opendev.org/850705
Change-Id: I30e0b9cd798fff3fff3b81d7355c3dda239e033d
The value with a white space should be accepted instead of being
rejected. This change fixes the wrong test case description and makes
sure the description explains what is actually tested.
Change-Id: I841df474bd0aa7a84f0b443d87d002c343971ebd
The ipxe package in Ubuntu 20.04(focal) does not provide snponly.efi
but only ipxe.efi. This change ensures that ipxe.efi is used by default
in Ubuntu 20.04. snponly.efi is available since 22.04(jammy) so we will
remove this fallback once we remove support for Ubuntu 20.04.
Change-Id: Iac9c4511f03eb0f5966458858c5d5fb530f85c6e
In Debian/Ubuntu, the efi file installed by the ipxe package is named
"snponly.efi" instead of "ipxe-snponly.efi". This fixes the wrong name
so that the file can be copied without error by default.
Change-Id: I1e8a2d12fee99e468eebf6afa040589803be039a
Debian and Ubuntu requires the separate pxelinux package to use
the pxelinux.0 file and the file is stored in a separated directory.
Also, the current directory to locate the syslinux files are outdated
and does not work with the recent versions.
This change fixes these two problems.
Change-Id: I560b3b6af5b2bab0b1144aa1eda6088f01336d75
The tftpd-hpa package possesses a number of bugfixes and enhancements
over the original tftpd package. Especially it supports the 'tsize'
which is required by PXE.
Change-Id: I41b95f80ed4d972a65f25541d2c5f4ae2df79d60
The ironic-inspector package is now available in all of the supported
operating systems, so it's redundant to check whether the package name
is defined.
Change-Id: Iae4467d1278df2f7ef82019013b23a3dea556201
The headers option in apache::vhost is required in some case, for
example when adding the X-XSS-Protection header. This change allows
customizing the option for the api vhost.
This change also adds support for request_headers so that both request
headers and response headers can customized.
Change-Id: I11274e444c230c62210e2ed5c0f4811f019b16ae
Currently uefi_pxe_bootfile_name defaults to bootx86.efi, but puppet
doesn't copy any file to this location. This change copies the signed
grub shim efi to tftp root bootx86.efi, and also the signed grub
binary to grubx64.efi.
This means UEFI boot with PXE will now work by default by doing a grub
network boot instead of using iPXE. And since all EFI binaries are
signed, it should even be possible to enable Secure Boot for the whole
baremetal provisioning process.
Change-Id: I59850eca971d57464efe85ffea723f19f9855353
Closes-Bug: #1975543
... because the parameter was deprecated during Victoria cycle[1] in
favor of the new inspect_wait_timeout parameter.
[1] 19851a4d625712b3bf3c8252161c2a858fece941
Change-Id: I2f3e2468f3552dfcc1ffe7d35b504a474966593a
... because it was deprecated during Victoria cycle[1] in favor of
the configdriver_use_object_store parameter.
[1] 73d39c09c11399a04f270f1c41fb12ac6225a417
Change-Id: I31f995aa13931bbcd400e7806dcfe583a9244141
... because the parameter was deprecated during Xena cycle by [1].
[1] 541157fe290e6b9ce6923e968692e6cf23eb7109
Change-Id: I918fdab05117c36a3a78d1b7501416cc6a2793d3
... because the parameter was deprecated during Ussuri cycle[1].
[1] 305964417d6e3de26bf4582a0ecac77294c40a9e
Change-Id: I67b4294993807599f61c4c5eef353f2d97cbccc5
... because the parameter was deprecated during Yoga cycle[1].
[1] f1aefe228afeab456cbe547e79217870ed4a321b
Change-Id: I080d1a7029b13245d33334ae11a42f7d787da172
This refactors unit tests of the ironic::pxe class according to
the following points.
- Chainload image resource should be tested with default parameters
- Make sure package resources are included
- The resource title for syslinux-tftpboot package is syslinux, instead
of syslinux-tftpboot.
- 'default_params' and 'p' are not used
Change-Id: Ibb1d9b232303c536019e95fc17b3619c791553d4
Currently the vhost management in ironic::pxe has its own logic to
inject the Listen option into the vhost configuration file instead of
the core apache configuration file but these two should be effectively
same as long as vhosts are properly configured.
Because we globally use the implementation in puppetlabs-apache which
adds Listen to the core file, this replaces own mechanism by that
existing implementation to simplify the own logics.
Change-Id: I1e979159116f25a404b5f081c02352a6f2412074
... because RDO will provide packages for only CentOS Stream 9 for Zed
release. This change removes RHEL 8 as well.
Depends-on: https://review.opendev.org/843503
Change-Id: I4f957e4d54ec801510941fd7fd0e718f5f41c561
During the previous cycle, a warning message was added to inform users
of this change.
Now the default value is updated so that SSL is disabled by default.
Change-Id: If565fecd8919d0a34c0b6b3009b7623610e78065
These parameter were deprecated during Train cycle by [1] and have been
ineffective since then.
[1] fb8e19deb88c4e244dded10d660f9aa81792c54b
Change-Id: Ib2e2f8284a61ae7f8a1ae75a2b2c0a63503ddc08
This parameter was deprecated during Xena cycle[1] and has had no
effect since then.
[1] 3864e15998b5b1eec7d2b1b4911add9bb899fdb8
Change-Id: Ic384acfb6b2186f6805a7e704c13e318721c1125
Add file to the reno documentation build to show release notes for
stable/yoga.
Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/yoga.
Sem-Ver: feature
Change-Id: Ic6e814bad9ba8ba7d74543fcbe0f41d5c47f55a2
The latest release of setuptools 61.0 made a breaking change[1] and
because of this change 'pip install' fails with the following error.
~~~
error: Multiple top-level packages discovered in a flat-layout:
['lib', 'spec', 'manifests', 'releasenotes'].
~~~
Users that don't set 'packages', 'py_modules', or configuration'
are still likely to observe the auto-discovery behavior, which may
halt the build if the project contains multiple directories and/or
multiple Python files directly under the project root.
To disable auto discovery, one can do below in setup.py
~~~
setuptools.setup(..,packages=[],..)
~~~
or
~~~
setuptools.setup(..,py_modules=[],..)
~~~
[1] https://github.com/pypa/setuptools/issues/3197
Note setup.py is not used to install puppet modules. However it is used
to generate a release note, thus should be fixed.
Signed-off-by: Jiri Podivin <jpodivin@redhat.com>
Change-Id: I9767330a94f2406a6e76be0f7ce3886478bce3e5