Smart proxy dynflow-core: различия между версиями

Материал из ALT Linux Wiki
м (Зануда переименовал страницу Smart-proxy-dynflow-core в Smart proxy dynflow-core)
(* Добавлено описание конфиг файлов *)
Строка 14: Строка 14:
=== Настройка ===
=== Настройка ===


Перед запуском службы smart-proxy-dynflow-core при необходимости создаём или делаем изменения в файле переменных службы ''/etc/sysconfig/smart-proxy-dynflow-core'' такие, какие вам необходимы для правильной её работы в связке с [[dynflow]] и [[foreman]]-ом.
Перед запуском службы smart-proxy-dynflow-core при необходимости делаем изменения в конфигурационном файле ''/etc/smart_proxy_dynflow_core/settings.yml'' такие, какие вам необходимы для правильной её работы в связке с [[dynflow]] и [[foreman]]-ом.
 
Для регистрации smart-proxy-dynflow-core как сервиса в [[smart-proxy]] необходимо создать файл ''/etc/smart-proxy/config/settings.d/dynflow.yml''
 
<pre>---
:enabled: http
:database:
:core_url: http://sample.server.name:8008
 
# If true, external core will be used even if the core gem is available
# If false, the feature will be disabled if the core gem is unavailable
# If unset, the process will fallback to autodetection, using external core if the core gem is unavailable
:external_core: true</pre>


=== Запуск ===
=== Запуск ===

Версия от 19:33, 12 апреля 2021

Stub.png
Данная страница находится в разработке.
Эта страница ещё не закончена. Информация, представленная здесь, может оказаться неполной или неверной.

Smart-proxy-dynflow-core

Установка

Необходимо установить один из следующих пакетов: Для версии форемана 1.х:

# apt-get install foreman-addons

Для версии форемана 2.х:

# apt-get install smart-proxy-dynflow-core

Настройка

Перед запуском службы smart-proxy-dynflow-core при необходимости делаем изменения в конфигурационном файле /etc/smart_proxy_dynflow_core/settings.yml такие, какие вам необходимы для правильной её работы в связке с dynflow и foreman-ом.

Для регистрации smart-proxy-dynflow-core как сервиса в smart-proxy необходимо создать файл /etc/smart-proxy/config/settings.d/dynflow.yml

---
:enabled: http
:database:
:core_url: http://sample.server.name:8008

# If true, external core will be used even if the core gem is available
# If false, the feature will be disabled if the core gem is unavailable
# If unset, the process will fallback to autodetection, using external core if the core gem is unavailable
:external_core: true

Запуск

Разрешаем самозапуск службы smart-proxy-dynflow-core, и перезапускаем её:

# systemctl enable smart-proxy-dynflow-core
# systemctl restart smart-proxy-dynflow-core