2021-11-18 02:03:37 +01:00
|
|
|
def test_epel_and_remi_not_installed_fedora(host):
|
2022-09-19 14:44:10 +02:00
|
|
|
"""
|
2020-12-01 11:02:31 +01:00
|
|
|
confirms installer does not attempt to install EPEL/REMI repositories
|
|
|
|
on Fedora
|
2022-09-19 14:44:10 +02:00
|
|
|
"""
|
|
|
|
package_manager_detect = host.run(
|
|
|
|
"""
|
2020-12-01 11:02:31 +01:00
|
|
|
source /opt/pihole/basic-install.sh
|
2021-08-03 22:48:26 +02:00
|
|
|
package_manager_detect
|
2022-09-19 14:44:10 +02:00
|
|
|
"""
|
|
|
|
)
|
|
|
|
assert package_manager_detect.stdout == ""
|
2020-12-01 11:02:31 +01:00
|
|
|
|
2022-09-19 14:44:10 +02:00
|
|
|
epel_package = host.package("epel-release")
|
2020-12-01 11:02:31 +01:00
|
|
|
assert not epel_package.is_installed
|