101 lines
2.6 KiB
Plaintext
101 lines
2.6 KiB
Plaintext
LISTEN_ADDRESS: "0.0.0.0"
|
|
LISTEN_PORT: "8001"
|
|
DEVELOPMENT: false
|
|
AUTH:
|
|
# Possible options:
|
|
# - none - authentication is disabled
|
|
# - fake - no keystone required, credentials: admin/admin
|
|
# - keystone - authentication enabled.
|
|
AUTHENTICATION_METHOD: "keystone"
|
|
# use only if AUTHENTICATION_METHOD is set to "keystone"
|
|
auth_host: "<%= @keystone_host %>"
|
|
auth_protocol: "http"
|
|
auth_version: "v2.0"
|
|
admin_user: "<%= @keystone_user %>"
|
|
admin_password: "<%= @keystone_password %>"
|
|
admin_tenant_name: "services"
|
|
|
|
<% if @feature_groups.empty? -%>
|
|
FEATURE_GROUPS: []
|
|
<% else -%>
|
|
FEATURE_GROUPS:
|
|
<% @feature_groups.each do |fgrp| -%>
|
|
- <%= fgrp %>
|
|
<% end -%>
|
|
<% end -%>
|
|
|
|
DATABASE:
|
|
engine: "<%= @db_engine %>"
|
|
name: "<%= @db_name %>"
|
|
host: "<%= @db_host %>"
|
|
port: "<%= @db_port %>"
|
|
user: "<%= @db_user %>"
|
|
passwd: "<%= @db_password %>"
|
|
|
|
FUEL_KEY: "<%= @fuel_key %>"
|
|
|
|
STATIC_DIR: "<%= @staticdir %>"
|
|
TEMPLATE_DIR: "<%= @templatedir %>"
|
|
NETWORK_POOLS:
|
|
public:
|
|
- "172.16.0.0/16"
|
|
private10:
|
|
- "10.0.0.0/8"
|
|
private192:
|
|
- "192.168.0.0/16"
|
|
|
|
NET_EXCLUDE:
|
|
- "<%= @exclude_network %>/<%= @exclude_cidr %>"
|
|
|
|
ADMIN_NETWORK:
|
|
cidr: "<%= @admin_network %>/<%= @admin_network_cidr %>"
|
|
netmask: "<%= @admin_network_netmask %>"
|
|
mac: "<%= @admin_network_mac %>"
|
|
size: "<%= @admin_network_size %>"
|
|
first: "<%= @admin_network_first %>"
|
|
last: "<%= @admin_network_last %>"
|
|
gateway: "<%= @admin_network_gateway %>"
|
|
|
|
VLANS_RANGE_START: "100"
|
|
VLANS_RANGE_END: "1000"
|
|
|
|
RABBITMQ:
|
|
fake: "0"
|
|
hostname: "<%= @rabbitmq_host %>"
|
|
port: 5672
|
|
userid: "<%= @rabbitmq_astute_user %>"
|
|
password: "<%= @rabbitmq_astute_password %>"
|
|
virtual_host: "/"
|
|
|
|
APP_LOG: "/var/log/nailgun/app.log"
|
|
API_LOG: "/var/log/nailgun/api.log"
|
|
|
|
# possible values: "CRITICAL", "ERROR", "WARNING", "INFO" and "DEBUG"
|
|
APP_LOGLEVEL: "<%= @nailgun_log_level %>"
|
|
|
|
PATH_TO_SSH_KEY: "/root/.ssh/id_rsa"
|
|
PATH_TO_BOOTSTRAP_SSH_KEY: "/root/.ssh/bootstrap.rsa"
|
|
AUTHORIZED_KEYS:
|
|
- "<%= scope.function_strip([scope.function_file(["/root/.ssh/id_rsa.pub"])]) %>"
|
|
|
|
MASTER_IP: "<%= @admin_network_ip %>"
|
|
|
|
COBBLER_URL: "<%= @cobbler_url %>"
|
|
COBBLER_USER: "<%= @cobbler_user %>"
|
|
COBBLER_PASSWORD: "<%= @cobbler_password %>"
|
|
COBBLER_PROFILE: "centos-x86_64"
|
|
|
|
MCO_PSKEY: "<%= @mco_pskey %>"
|
|
MCO_VHOST: "<%= @mco_vhost %>"
|
|
MCO_HOST: <%= @mco_host %>
|
|
MCO_USER: "<%= @mco_user %>"
|
|
MCO_PASSWORD: "<%= @mco_password %>"
|
|
MCO_CONNECTOR: "<%= @mco_connector %>"
|
|
|
|
DNS_DOMAIN: "<%= @dns_domain %>"
|
|
DNS_SERVERS: "<%= @cobbler_host %>"
|
|
DNS_SEARCH: "<%= @dns_domain.gsub(/,/, ' ') %>"
|
|
DNS_UPSTREAM: "<%= @dns_upstream %>"
|
|
|
|
NTP_UPSTREAM: "<%= @ntp_upstream %>"
|