Python3 changes for Ubuntu

* Remove definitions for ubuntu 15.04 and 15.10
* Changed binary packages to the python3 package names.
* Removed python-configparser as it is no longer required

Change-Id: I8f102bb6ea6238a7f5a638b89f01dc16852fc741
This commit is contained in:
Julia Kreger 2020-01-02 16:17:41 -08:00
parent 781a132d3d
commit 31b552c511
10 changed files with 19 additions and 41 deletions

View File

@ -20,7 +20,7 @@ Installation and use of bifrost is split into roughly three steps:
Supported operating systems: Supported operating systems:
* Ubuntu 14.04, 14.10, 15.04, 16.04 * Ubuntu 16.04, 18.04
* Red Hat Enterprise Linux (RHEL) 7 * Red Hat Enterprise Linux (RHEL) 7
* CentOS 7 * CentOS 7
* Fedora 22 * Fedora 22

View File

@ -1,4 +0,0 @@
---
init_template: systemd_template.j2
init_dest_dir: /lib/systemd/system/
init_ext: .service

View File

@ -1,4 +0,0 @@
---
init_template: systemd_template.j2
init_dest_dir: /lib/systemd/system/
init_ext: .service

View File

@ -4,9 +4,10 @@ init_dest_dir: /lib/systemd/system/
init_ext: .service init_ext: .service
required_packages: required_packages:
- mariadb-server - mariadb-server
- python-dev - python3-dev
- python-mysqldb - python3-mysqldb
- python-configparser - python3-pymysql
- python3-setuptools
- libffi-dev - libffi-dev
- libxslt1-dev - libxslt1-dev
- libssl-dev - libssl-dev
@ -25,12 +26,9 @@ required_packages:
- genisoimage - genisoimage
- kpartx - kpartx
- qemu-utils - qemu-utils
- python-openwsman
- debootstrap - debootstrap
- uuid-runtime - uuid-runtime
- curl - curl
- python-pip
- python-pymysql
- dnsmasq - dnsmasq
# NOTE(TheJulia): The above entry for dnsmasq must be the last entry in the # NOTE(TheJulia): The above entry for dnsmasq must be the last entry in the
# package list as the installation causes name resolution changes that can # package list as the installation causes name resolution changes that can

View File

@ -4,9 +4,10 @@ init_dest_dir: /lib/systemd/system/
init_ext: .service init_ext: .service
required_packages: required_packages:
- mariadb-server - mariadb-server
- python-dev - python3-dev
- python-mysqldb - python3-mysqldb
- python-configparser - python3-pymysql
- python3-setuptools
- libffi-dev - libffi-dev
- libxslt1-dev - libxslt1-dev
- libssl-dev - libssl-dev
@ -29,8 +30,6 @@ required_packages:
- debootstrap - debootstrap
- uuid-runtime - uuid-runtime
- curl - curl
- python-pip
- python-pymysql
- dnsmasq - dnsmasq
# NOTE(TheJulia): The above entry for dnsmasq must be the last entry in the # NOTE(TheJulia): The above entry for dnsmasq must be the last entry in the
# package list as the installation causes name resolution changes that can # package list as the installation causes name resolution changes that can

View File

@ -115,7 +115,6 @@
- skip_install is not defined - skip_install is not defined
- enable_venv | bool == false - enable_venv | bool == false
- (ansible_distribution == 'CentOS' and ansible_distribution_major_version|version_compare('7', '<=')) or - (ansible_distribution == 'CentOS' and ansible_distribution_major_version|version_compare('7', '<=')) or
(ansible_distribution == 'Ubuntu' and ansible_distribution_version|version_compare('14.10', '==')) or
(ansible_distribution == 'Fedora' and ansible_distribution_version|version_compare('25', '>=')) (ansible_distribution == 'Fedora' and ansible_distribution_version|version_compare('25', '>='))
- name: "Install extra packages for ironic" - name: "Install extra packages for ironic"

View File

@ -1,4 +0,0 @@
---
init_template: systemd_template.j2
init_dest_dir: /lib/systemd/system/
init_ext: .service

View File

@ -1,4 +0,0 @@
---
init_template: systemd_template.j2
init_dest_dir: /lib/systemd/system/
init_ext: .service

View File

@ -4,9 +4,10 @@ init_dest_dir: /lib/systemd/system/
init_ext: .service init_ext: .service
required_packages: required_packages:
- mariadb-server - mariadb-server
- python-dev - python3-dev
- python-mysqldb - python3-mysqldb
- python-configparser - python3-pymysql
- python3-setuptools
- libffi-dev - libffi-dev
- libxslt1-dev - libxslt1-dev
- libssl-dev - libssl-dev
@ -15,6 +16,4 @@ required_packages:
- uwsgi - uwsgi
- uwsgi-core - uwsgi-core
# - python-django-uwsgi - This may not be needed # - python-django-uwsgi - This may not be needed
- uwsgi-plugin-python - uwsgi-plugin-python3
- python-pip
- python-pymysql

View File

@ -4,9 +4,10 @@ init_dest_dir: /lib/systemd/system/
init_ext: .service init_ext: .service
required_packages: required_packages:
- mariadb-server - mariadb-server
- python-dev - python3-dev
- python-mysqldb - python3-mysqldb
- python-configparser - python3-pymysql
- python3-setuputils
- libffi-dev - libffi-dev
- libxslt1-dev - libxslt1-dev
- libssl-dev - libssl-dev
@ -15,6 +16,4 @@ required_packages:
- uwsgi - uwsgi
- uwsgi-core - uwsgi-core
# - python-django-uwsgi - This may not be needed # - python-django-uwsgi - This may not be needed
- uwsgi-plugin-python - uwsgi-plugin-python3
- python-pip
- python-pymysql