vars: Do not pull devel packages on distro installations

The devel packages are only needed to build the pip pacakges so we don't
need them when we install packages straight from the distro repos.

Change-Id: Ie598d5c4e9319867793ac34ef62f5d7c11d082fd
Implements: blueprint openstack-distribution-packages
This commit is contained in:
Markos Chandras 2018-06-04 08:45:14 +01:00
parent 6e12159d10
commit 4743c0c79a
5 changed files with 8 additions and 11 deletions

View File

@ -22,15 +22,14 @@ aodh_distro_packages:
- apache2 - apache2
- apache2-utils - apache2-utils
- libapache2-mod-wsgi - libapache2-mod-wsgi
aodh_devel_distro_packages:
- libffi-dev - libffi-dev
- libssl-dev - libssl-dev
- libxml2-dev - libxml2-dev
- libxslt1-dev - libxslt1-dev
aodh_service_distro_packages: aodh_service_distro_packages:
- apache2
- apache2-utils
- libapache2-mod-wsgi
- aodh-api - aodh-api
- aodh-evaluator - aodh-evaluator
- aodh-expirer - aodh-expirer

View File

@ -13,6 +13,6 @@
# See the License for the specific language governing permissions and # See the License for the specific language governing permissions and
# limitations under the License. # limitations under the License.
aodh_package_list: "{{ aodh_service_distro_packages }}" aodh_package_list: "{{ aodh_distro_packages + aodh_service_distro_packages }}"
_aodh_bin: "/usr/bin" _aodh_bin: "/usr/bin"

View File

@ -19,6 +19,8 @@ aodh_distro_packages:
- httpd - httpd
- httpd-tools - httpd-tools
- mod_wsgi - mod_wsgi
aodh_devel_distro_packages:
- libffi-devel - libffi-devel
- openssl-devel - openssl-devel
- libxml2-devel - libxml2-devel
@ -26,9 +28,6 @@ aodh_distro_packages:
- which - which
aodh_service_distro_packages: aodh_service_distro_packages:
- httpd
- httpd-tools
- mod_wsgi
- openstack-aodh-api - openstack-aodh-api
- openstack-aodh-evaluator - openstack-aodh-evaluator
- openstack-aodh-expirer - openstack-aodh-expirer

View File

@ -13,6 +13,6 @@
# See the License for the specific language governing permissions and # See the License for the specific language governing permissions and
# limitations under the License. # limitations under the License.
aodh_package_list: "{{ aodh_distro_packages }}" aodh_package_list: "{{ aodh_distro_packages + aodh_devel_distro_packages }}"
_aodh_bin: "/openstack/venvs/aodh-{{ aodh_venv_tag }}/bin" _aodh_bin: "/openstack/venvs/aodh-{{ aodh_venv_tag }}/bin"

View File

@ -20,6 +20,8 @@ aodh_distro_packages:
- apache2 - apache2
- apache2-utils - apache2-utils
- apache2-mod_wsgi - apache2-mod_wsgi
aodh_devel_distro_packages:
- libffi-devel - libffi-devel
- libopenssl-devel - libopenssl-devel
- libxml2-devel - libxml2-devel
@ -27,9 +29,6 @@ aodh_distro_packages:
- which - which
aodh_service_distro_packages: aodh_service_distro_packages:
- apache2
- apache2-utils
- apache2-mod_wsgi
- openstack-aodh - openstack-aodh
- openstack-aodh-api - openstack-aodh-api
- openstack-aodh-evaluator - openstack-aodh-evaluator