Mass rename from ansible_(awx|tower) -> (awx|tower)

This commit is contained in:
Matthew Jones
2017-07-26 10:58:46 -04:00
parent 22e1e14c4f
commit c7a85d9738
35 changed files with 74 additions and 74 deletions

View File

@@ -20,9 +20,9 @@ RUN /usr/bin/ssh-keygen -q -t rsa -N "" -f /root/.ssh/id_rsa
RUN mkdir -p /data/db
RUN pip2 install honcho
RUN pip2 install supervisor
ADD tools/docker-compose/ansible-awx.egg-link /tmp/ansible-awx.egg-link
ADD tools/docker-compose/awx.egg-link /tmp/awx.egg-link
ADD tools/docker-compose/awx-manage /usr/local/bin/awx-manage
ADD tools/docker-compose/ansible_awx.egg-info /tmp/ansible_awx.egg-info
ADD tools/docker-compose/awx.egg-info /tmp/awx.egg-info
RUN ln -Ffs /awx_devel/tools/docker-compose/nginx.conf /etc/nginx/nginx.conf
RUN ln -Ffs /awx_devel/tools/docker-compose/nginx.vh.default.conf /etc/nginx/conf.d/nginx.vh.default.conf
RUN ln -s /awx_devel/tools/docker-compose/start_development.sh /start_development.sh

View File

@@ -1,10 +1,10 @@
#!/venv/awx/bin/python
# EASY-INSTALL-ENTRY-SCRIPT: 'ansible-awx','console_scripts','awx-manage'
__requires__ = 'ansible-awx'
# EASY-INSTALL-ENTRY-SCRIPT: 'awx','console_scripts','awx-manage'
import sys
from pkg_resources import load_entry_point
__requires__ = 'awx'
if __name__ == '__main__':
sys.exit(
load_entry_point('ansible-awx', 'console_scripts', 'awx-manage')()
load_entry_point('awx', 'console_scripts', 'awx-manage')()
)

View File

@@ -1,12 +1,12 @@
Metadata-Version: 1.1
Name: ansible-awx
Name: awx
Version: placeholder
Summary: ansible-awx: API, UI and Task Engine for Ansible
Home-page: http://github.com/ansible/ansible-awx
Summary: awx: API, UI and Task Engine for Ansible
Home-page: http://github.com/ansible/awx
Author: Ansible, Inc.
Author-email: info@ansible.com
License: Proprietary
Description: Ansible AWXprovides a web-based user interface, REST API and task engine built on top of Ansible
Description: Ansible AWX provides a web-based user interface, REST API and task engine built on top of Ansible
Keywords: ansible
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable

View File

@@ -21,9 +21,9 @@ else
echo "Failed to find awx source tree, map your development tree volume"
fi
cp -R /tmp/ansible_awx.egg-info /awx_devel/ || true
sed -i "s/placeholder/$(git describe --long | sed 's/\./\\./g')/" /awx_devel/ansible_awx.egg-info/PKG-INFO
cp /tmp/ansible-awx.egg-link /venv/awx/lib/python2.7/site-packages/ansible-awx.egg-link
cp -R /tmp/awx.egg-info /awx_devel/ || true
sed -i "s/placeholder/$(git describe --long | sed 's/\./\\./g')/" /awx_devel/awx.egg-info/PKG-INFO
cp /tmp/awx.egg-link /venv/awx/lib/python2.7/site-packages/awx.egg-link
ln -s /awx_devel/tools/rdb.py /venv/awx/lib/python2.7/site-packages/rdb.py || true
yes | cp -rf /awx_devel/tools/docker-compose/supervisor.conf /supervisor.conf