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 cd ~/ \
|
||||
&& rm /etc/ord/* \
|
||||
&& rm /etc/ranger-agent/* \
|
||||
&& rm -fr /tmp/ranger-agent \
|
||||
&& mkdir /var/log/ranger-agent
|
||||
|
||||
@ -55,7 +55,7 @@ RUN useradd -u 1000 -ms /bin/bash ranger_agent
|
||||
|
||||
# Change permissions
|
||||
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
|
||||
|
||||
# Set work directory
|
||||
|
@ -13,6 +13,7 @@ resource_creation_timeout_max = 14400
|
||||
log_dir = /var/log/ranger-agent
|
||||
local_repo = ranger_repo
|
||||
resource_status_check_wait = 15
|
||||
api_paste_config = /etc/ranger-agent/api-paste.ini
|
||||
transport_url = rabbit://stackrabbit:devstack@127.0.0.1:5672/
|
||||
|
||||
[api]
|
28
setup.cfg
28
setup.cfg
@ -23,19 +23,19 @@ setup-hooks =
|
||||
pbr.hooks.setup_hook
|
||||
|
||||
[files]
|
||||
packages = ord
|
||||
packages = ranger-agent
|
||||
data_files =
|
||||
/etc/ord =
|
||||
etc/ord.conf
|
||||
/etc/ranger-agent =
|
||||
etc/ranger-agent.conf
|
||||
etc/api-paste.ini
|
||||
|
||||
[entry_points]
|
||||
console_scripts=
|
||||
ord-api = ord.cmd.api:main
|
||||
ord-engine = ord.cmd.engine:main
|
||||
ord-db-manage = ord.db.sqlalchemy.impl_sqlalchemy:Connection
|
||||
ord-dbsync = ord.cmd.manage:dbsync
|
||||
ord-fake-rds-listener = ord.cmd.fake_rds_listener:main
|
||||
ranger-agent-api = ord.cmd.api:main
|
||||
ranger-agent-engine = ord.cmd.engine:main
|
||||
ranger-agent-db-manage = ord.db.sqlalchemy.impl_sqlalchemy:Connection
|
||||
ranger-agent-dbsync = ord.cmd.manage:dbsync
|
||||
ranger-agent-fake-rds-listener = ord.cmd.fake_rds_listener:main
|
||||
|
||||
[build_sphinx]
|
||||
source-dir = doc/source
|
||||
@ -46,18 +46,18 @@ all_files = 1
|
||||
upload-dir = doc/build/html
|
||||
|
||||
[compile_catalog]
|
||||
directory = ord/locale
|
||||
domain = ord
|
||||
directory = ranger-agent/locale
|
||||
domain = ranger-agent
|
||||
|
||||
[update_catalog]
|
||||
domain = ord
|
||||
output_dir = ord/locale
|
||||
input_file = ord/locale/ord.pot
|
||||
domain = ranger-agent
|
||||
output_dir = ranger-agent/locale
|
||||
input_file = ranger-agent/locale/ranger-agent.pot
|
||||
|
||||
[extract_messages]
|
||||
keywords = _ gettext ngettext l_ lazy_gettext
|
||||
mapping_file = babel.cfg
|
||||
output_file = ord/locale/ord.pot
|
||||
output_file = ranger-agent/locale/ranger-agent.pot
|
||||
|
||||
[wheel]
|
||||
universal = 1
|
||||
|
Loading…
Reference in New Issue
Block a user