Merge "Actually disable EPEL, and epel-modular"
This commit is contained in:
commit
fecd325c67
@ -359,7 +359,7 @@ RUN yum-config-manager --enable rhel-7-server-optional-rpms \
|
||||
|
||||
# Install base packages
|
||||
{{ macros.install_packages( base_centos_packages | customizable("centos_packages") | customizable("centos_binary_packages") | customizable("centos_source_packages") ) }}
|
||||
{{ macros.disable_extra_repos('epel') }}
|
||||
{{ macros.disable_extra_repos(['epel', 'epel-modular']) }}
|
||||
|
||||
{# endif for base_package_type rpm #}
|
||||
{% elif base_package_type == 'deb' %}
|
||||
|
@ -7,6 +7,9 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
|
||||
|
||||
{{ macros.configure_user(name='bifrost') }}
|
||||
|
||||
{# NOTE(mgoddard): EPEL required for nginx #}
|
||||
{{ macros.enable_extra_repos(['epel']) }}
|
||||
|
||||
{% if install_type == 'binary' %}
|
||||
|
||||
RUN echo '{{ install_type }} not yet available for {{ base_distro }}' && /bin/false
|
||||
|
@ -7,6 +7,11 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
|
||||
|
||||
{{ macros.configure_user(name='freezer') }}
|
||||
|
||||
{# NOTE(mgoddard): EPEL required for trickle package. Not provided by EPEL8 #}
|
||||
{% if distro_package_manager == 'yum' %}
|
||||
{{ macros.enable_extra_repos(['epel']) }}
|
||||
{% endif %}
|
||||
|
||||
{% if install_type == 'binary' %}
|
||||
|
||||
RUN echo '{{ install_type }} not yet available for {{ base_distro }}' \
|
||||
|
@ -15,6 +15,12 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
|
||||
{% endif %}
|
||||
|
||||
{% if install_type == 'binary' %}
|
||||
|
||||
{# NOTE(mgoddard): EPEL required for python3-boto3 package on CentOS 8 #}
|
||||
{% if distro_package_manager == 'dnf' %}
|
||||
{{ macros.enable_extra_repos(['epel']) }}
|
||||
{% endif %}
|
||||
|
||||
{% if base_package_type == 'rpm' %}
|
||||
|
||||
{% set gnocchi_base_packages = [
|
||||
|
@ -5,7 +5,10 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
|
||||
|
||||
{% import "macros.j2" as macros with context %}
|
||||
|
||||
{{ macros.enable_extra_repos(['ceph']) }}
|
||||
{# NOTE(mgoddard): EPEL required for shellinabox package. Not provided by EPEL8 #}
|
||||
{% if distro_package_manager == 'yum' %}
|
||||
{{ macros.enable_extra_repos(['epel']) }}
|
||||
{% endif %}
|
||||
|
||||
{% if install_type == 'binary' %}
|
||||
{% if base_package_type == 'rpm' %}
|
||||
|
@ -7,7 +7,8 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
|
||||
|
||||
{{ macros.configure_user(name='mysql') }}
|
||||
|
||||
{{ macros.enable_extra_repos(['mariadb']) }}
|
||||
{# NOTE(mgoddard): EPEL required for pv package #}
|
||||
{{ macros.enable_extra_repos(['epel', 'mariadb']) }}
|
||||
|
||||
{% if base_package_type == 'rpm' %}
|
||||
{% set mariadb_packages = [
|
||||
|
@ -7,6 +7,11 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
|
||||
|
||||
{{ macros.configure_user(name='mongodb') }}
|
||||
|
||||
{# NOTE(mgoddard): EPEL required for mongodb packages. Not provided by EPEL8 #}
|
||||
{% if distro_package_manager == 'yum' %}
|
||||
{{ macros.enable_extra_repos(['epel']) }}
|
||||
{% endif %}
|
||||
|
||||
{% if base_package_type == 'rpm' %}
|
||||
{% set mongodb_packages = [
|
||||
'mongodb',
|
||||
|
@ -5,6 +5,11 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
|
||||
|
||||
{% import "macros.j2" as macros with context %}
|
||||
|
||||
{# NOTE(mgoddard): EPEL required for spice-html5 package. Not provided by EPEL8 #}
|
||||
{% if distro_package_manager == 'yum' %}
|
||||
{{ macros.enable_extra_repos(['epel']) }}
|
||||
{% endif %}
|
||||
|
||||
{% if install_type == 'binary' %}
|
||||
{% if base_package_type == 'rpm' %}
|
||||
|
||||
|
@ -76,7 +76,6 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
|
||||
'python3-paramiko',
|
||||
'python3-paste-deploy',
|
||||
'python3-pbr',
|
||||
'python3-pika',
|
||||
'python3-posix_ipc',
|
||||
'python3-prettytable',
|
||||
'python3-psycopg2',
|
||||
|
@ -7,6 +7,11 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
|
||||
|
||||
{{ macros.configure_user(name='telegraf', homedir='/etc/telegraf') }}
|
||||
|
||||
{# NOTE(mgoddard): EPEL required for python2-pip package. python3-pip available in CentOS8 #}
|
||||
{% if distro_package_manager == 'yum' %}
|
||||
{{ macros.enable_extra_repos(['epel']) }}
|
||||
{% endif %}
|
||||
|
||||
{{ macros.enable_extra_repos(['influxdb']) }}
|
||||
|
||||
{% set telegraf_packages = [
|
||||
|
@ -43,6 +43,8 @@ centos8:
|
||||
ceph-noarch: "ceph-noarch"
|
||||
ceph-el8: "ceph-el8"
|
||||
ceph-lab-extras: "ceph-lab-extras"
|
||||
epel: "epel"
|
||||
epel-modular: "epel-modular"
|
||||
grafana: "grafana"
|
||||
influxdb: "influxdb"
|
||||
rabbitmq: "rabbitmq_rabbitmq-server"
|
||||
|
Loading…
x
Reference in New Issue
Block a user