change script and configuration file name to ranger-agent
Change-Id: Ica1118cce604d68e77d7668cf0c8f39edda09567
This commit is contained in:
parent
bf1b738797
commit
c5d059a27b
@ -46,7 +46,7 @@ RUN pip install --default-timeout=100 -r requirements.txt
|
|||||||
RUN python setup.py install
|
RUN python setup.py install
|
||||||
|
|
||||||
RUN cd ~/ \
|
RUN cd ~/ \
|
||||||
&& rm /etc/ord/* \
|
&& rm /etc/ranger-agent/* \
|
||||||
&& rm -fr /tmp/ranger-agent \
|
&& rm -fr /tmp/ranger-agent \
|
||||||
&& mkdir /var/log/ranger-agent
|
&& mkdir /var/log/ranger-agent
|
||||||
|
|
||||||
@ -55,7 +55,7 @@ RUN useradd -u 1000 -ms /bin/bash ranger_agent
|
|||||||
|
|
||||||
# Change permissions
|
# Change permissions
|
||||||
RUN chown -R ranger_agent: /home/ranger_agent \
|
RUN chown -R ranger_agent: /home/ranger_agent \
|
||||||
&& chown -R ranger_agent: /etc/ord \
|
&& chown -R ranger_agent: /etc/ranger-agent \
|
||||||
&& chown -R ranger_agent: /var/log/ranger-agent
|
&& chown -R ranger_agent: /var/log/ranger-agent
|
||||||
|
|
||||||
# Set work directory
|
# Set work directory
|
||||||
|
@ -13,6 +13,7 @@ resource_creation_timeout_max = 14400
|
|||||||
log_dir = /var/log/ranger-agent
|
log_dir = /var/log/ranger-agent
|
||||||
local_repo = ranger_repo
|
local_repo = ranger_repo
|
||||||
resource_status_check_wait = 15
|
resource_status_check_wait = 15
|
||||||
|
api_paste_config = /etc/ranger-agent/api-paste.ini
|
||||||
transport_url = rabbit://stackrabbit:devstack@127.0.0.1:5672/
|
transport_url = rabbit://stackrabbit:devstack@127.0.0.1:5672/
|
||||||
|
|
||||||
[api]
|
[api]
|
28
setup.cfg
28
setup.cfg
@ -23,19 +23,19 @@ setup-hooks =
|
|||||||
pbr.hooks.setup_hook
|
pbr.hooks.setup_hook
|
||||||
|
|
||||||
[files]
|
[files]
|
||||||
packages = ord
|
packages = ranger-agent
|
||||||
data_files =
|
data_files =
|
||||||
/etc/ord =
|
/etc/ranger-agent =
|
||||||
etc/ord.conf
|
etc/ranger-agent.conf
|
||||||
etc/api-paste.ini
|
etc/api-paste.ini
|
||||||
|
|
||||||
[entry_points]
|
[entry_points]
|
||||||
console_scripts=
|
console_scripts=
|
||||||
ord-api = ord.cmd.api:main
|
ranger-agent-api = ord.cmd.api:main
|
||||||
ord-engine = ord.cmd.engine:main
|
ranger-agent-engine = ord.cmd.engine:main
|
||||||
ord-db-manage = ord.db.sqlalchemy.impl_sqlalchemy:Connection
|
ranger-agent-db-manage = ord.db.sqlalchemy.impl_sqlalchemy:Connection
|
||||||
ord-dbsync = ord.cmd.manage:dbsync
|
ranger-agent-dbsync = ord.cmd.manage:dbsync
|
||||||
ord-fake-rds-listener = ord.cmd.fake_rds_listener:main
|
ranger-agent-fake-rds-listener = ord.cmd.fake_rds_listener:main
|
||||||
|
|
||||||
[build_sphinx]
|
[build_sphinx]
|
||||||
source-dir = doc/source
|
source-dir = doc/source
|
||||||
@ -46,18 +46,18 @@ all_files = 1
|
|||||||
upload-dir = doc/build/html
|
upload-dir = doc/build/html
|
||||||
|
|
||||||
[compile_catalog]
|
[compile_catalog]
|
||||||
directory = ord/locale
|
directory = ranger-agent/locale
|
||||||
domain = ord
|
domain = ranger-agent
|
||||||
|
|
||||||
[update_catalog]
|
[update_catalog]
|
||||||
domain = ord
|
domain = ranger-agent
|
||||||
output_dir = ord/locale
|
output_dir = ranger-agent/locale
|
||||||
input_file = ord/locale/ord.pot
|
input_file = ranger-agent/locale/ranger-agent.pot
|
||||||
|
|
||||||
[extract_messages]
|
[extract_messages]
|
||||||
keywords = _ gettext ngettext l_ lazy_gettext
|
keywords = _ gettext ngettext l_ lazy_gettext
|
||||||
mapping_file = babel.cfg
|
mapping_file = babel.cfg
|
||||||
output_file = ord/locale/ord.pot
|
output_file = ranger-agent/locale/ranger-agent.pot
|
||||||
|
|
||||||
[wheel]
|
[wheel]
|
||||||
universal = 1
|
universal = 1
|
||||||
|
2
setup.py
2
setup.py
@ -17,7 +17,7 @@
|
|||||||
import setuptools
|
import setuptools
|
||||||
from setuptools import find_packages
|
from setuptools import find_packages
|
||||||
|
|
||||||
setuptools.setup(name="ord", version="2016.3.0",
|
setuptools.setup(name="ranger-agent", version="2016.3.0",
|
||||||
packages=find_packages(),
|
packages=find_packages(),
|
||||||
include_package_data=True,
|
include_package_data=True,
|
||||||
setup_requires=['pbr'],
|
setup_requires=['pbr'],
|
||||||
|
Loading…
Reference in New Issue
Block a user