82 lines
2.5 KiB
YAML
82 lines
2.5 KiB
YAML
---
|
|
# Copyright 2016, Internap Inc.
|
|
#
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
# you may not use this file except in compliance with the License.
|
|
# You may obtain a copy of the License at
|
|
#
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
#
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
# See the License for the specific language governing permissions and
|
|
# limitations under the License.
|
|
|
|
almanach_version: 4.0.9
|
|
|
|
almanach_collector_program_name: almanach-collector
|
|
almanach_api_program_name: almanach-api
|
|
|
|
almanach_venv_tag: untagged
|
|
almanach_bin: "/openstack/venvs/almanach-{{ almanach_venv_tag }}/bin"
|
|
|
|
almanach_services:
|
|
almanach-api:
|
|
group: almanach_all
|
|
service_name: almanach-api
|
|
init_config_overrides: "{{ almanach_api_init_config_overrides }}"
|
|
start_order: 1
|
|
execstarts: "{{ almanach_bin }}/almanach-api"
|
|
almanach-collector:
|
|
group: almanach_all
|
|
service_name: almanach-collector
|
|
init_config_overrides: "{{ almanach_collector_init_config_overrides }}"
|
|
start_order: 2
|
|
execstarts: "{{ almanach_bin }}/almanach-collector"
|
|
|
|
almanach_requires_pip_packages:
|
|
- virtualenv
|
|
|
|
almanach_pip_packages:
|
|
- "almanach=={{ almanach_version }}"
|
|
- systemd-python
|
|
|
|
almanach_system_user_name: almanach
|
|
almanach_system_group_name: almanach
|
|
almanach_system_shell: /bin/false
|
|
almanach_system_comment: almanach system user
|
|
|
|
almanach_log_dir: /var/log/almanach
|
|
almanach_log_file: /var/log/almanach/almanach.log
|
|
|
|
almanach_config_dir: /etc/almanach
|
|
almanach_config_file: /etc/almanach/almanach.conf
|
|
almanach_logrotate_config_file: /etc/logrotate.d/almanach
|
|
|
|
almanach_auth_token: secret
|
|
almanach_auth_strategy: private_key
|
|
|
|
almanach_keystone_username: my_service_username
|
|
almanach_keystone_password: my_service_password
|
|
almanach_keystone_tenant_name: my_service_tenant_name
|
|
almanach_keystone_auth_url: http://keystone_url:5000/v2.0
|
|
|
|
almanach_transport_url: rabbit://openstack:openstack@localhost:5672
|
|
almanach_topic: almanach
|
|
almanach_max_retries: 3
|
|
almanach_retry_delay: 10
|
|
|
|
almanach_database_driver: mongodb
|
|
almanach_database_url: mongodb://almanach:almanach@localhost:27017/almanach
|
|
|
|
almanach_bind_port: 8000
|
|
almanach_bind_ip: 0.0.0.0
|
|
|
|
almanach_volume_existence_threshold: 60
|
|
almanach_instance_metadata: ''
|
|
almanach_instance_image_meta: ''
|
|
|
|
almanach_collector_init_config_overrides: {}
|
|
almanach_api_init_config_overrides: {}
|