updated swift deps for use in stable/kilo

swift now depends on the package pyeclib which has a library dep
of liberasurecode1, liberasurecode-dev and this commit adds the
libs to the swift install as well as the repo server.

Change-Id: I36ff6354b78faedcfd716f31c53627c1bcb54d78
Partially-Implements: blueprint master-kilofication
This commit is contained in:
Kevin Carter 2015-04-17 18:02:08 -05:00
parent b20d9a52ab
commit 812b4f9f73
4 changed files with 7 additions and 1 deletions

View File

@ -77,6 +77,7 @@
echo '# Do not edit this file. Add new sources to /etc/apt/sources.list.d/' | tee /etc/apt/sources.list echo '# Do not edit this file. Add new sources to /etc/apt/sources.list.d/' | tee /etc/apt/sources.list
echo 'deb {{ lxc_container_template_main_apt_repo }} {{ lxc_container_release }} main restricted universe multiverse' | tee -a /etc/apt/sources.list echo 'deb {{ lxc_container_template_main_apt_repo }} {{ lxc_container_release }} main restricted universe multiverse' | tee -a /etc/apt/sources.list
echo 'deb {{ lxc_container_template_main_apt_repo }} {{ lxc_container_release }}-updates main restricted universe multiverse' | tee -a /etc/apt/sources.list echo 'deb {{ lxc_container_template_main_apt_repo }} {{ lxc_container_release }}-updates main restricted universe multiverse' | tee -a /etc/apt/sources.list
echo 'deb {{ lxc_container_template_main_apt_repo }} {{ lxc_container_release }}-backports main restricted universe multiverse' | tee -a /etc/apt/sources.list
echo 'deb {{ lxc_container_template_security_apt_repo }} {{ lxc_container_release }}-security main restricted universe multiverse' | tee -a /etc/apt/sources.list echo 'deb {{ lxc_container_template_security_apt_repo }} {{ lxc_container_release }}-security main restricted universe multiverse' | tee -a /etc/apt/sources.list
while timeout 120 apt-get update && apt-get -y install python2.7; [ $? = 124 ]; do while timeout 120 apt-get update && apt-get -y install python2.7; [ $? = 124 ]; do
sleep 5 sleep 5

View File

@ -116,6 +116,7 @@ swift_pip_packages:
- dnspython - dnspython
- ecdsa - ecdsa
- keystonemiddleware - keystonemiddleware
- pyeclib
- pycrypto - pycrypto
- python-cinderclient - python-cinderclient
- python-keystoneclient - python-keystoneclient
@ -128,6 +129,8 @@ swift_apt_packages:
- curl - curl
- gcc - gcc
- git-core - git-core
- liberasurecode1
- liberasurecode-dev
- libffi-dev - libffi-dev
- openssh-server - openssh-server
- python-dev - python-dev

View File

@ -46,6 +46,8 @@ repo_apt_packages:
- rsync - rsync
- sshpass - sshpass
- tmux - tmux
- liberasurecode1
- liberasurecode-dev
- libldap2-dev - libldap2-dev
- libsasl2-dev - libsasl2-dev
- libssl-dev - libssl-dev

View File

@ -86,7 +86,7 @@ nova_git_dest: "/opt/nova_{{ nova_git_install_branch | replace('/', '_') }}"
## Swift service ## Swift service
swift_git_repo: https://github.com/openstack/swift swift_git_repo: https://github.com/openstack/swift
swift_git_install_branch: 2.2.2 swift_git_install_branch: master
swift_git_dest: "/opt/swift_{{ swift_git_install_branch | replace('/', '_') }}" swift_git_dest: "/opt/swift_{{ swift_git_install_branch | replace('/', '_') }}"