blob: 7137bc4630baa816ff6b1a0f95a09546bfcea948 [file] [log] [blame]
classes:
- system.defaults
- system.linux.system.single.debian
- system.linux.system.repo.mcp.apt_mirantis.salt-formulas
- system.linux.system.repo.mcp.apt_mirantis.update.salt-formulas
- system.linux.system.repo.mcp.apt_mirantis.extra
- system.linux.system.repo.mcp.apt_mirantis.update.extra
- system.linux.system.repo.mcp.apt_mirantis.ubuntu
- system.linux.system.repo.mcp.apt_mirantis.update.ubuntu
- system.linux.system.repo.mcp.apt_mirantis.docker
- system.linux.system.repo.mcp.apt_mirantis.update.docker
- system.openssh.client.lab
- system.salt.master.pkg
- system.salt.minion.ca.salt_master
- system.salt.master.api
- system.reclass.storage.salt
- cluster.mcp-offline.infra.mirror
- cluster.mcp-offline.infra.mirror.docker-registry
parameters:
_param:
# TODO: Uncomment next line "linux_system_user_sudo: true" during the deployment.
# Don't set it "false" before you configure sudo policies and enable power users.
# linux_system_user_sudo: true
mcp_version: "2019.2.0"
mcp_tagged_version: "2019.2.18"
# mcp_version: "proposed"
aptly_server_hostname: apt
aptly_server_address: 127.0.0.1
linux_repo_refresh_db: true
infra_config_hostname: apt01
salt_minion_ca_host: ${_param:infra_config_hostname}.${_param:cluster_domain}
# for docker-swarm
cluster_node01_address: ${_param:aptly_server_address}
admin_email: root@localhost
# infra service addresses
infra_config_address: ${_param:aptly_server_address}
infra_config_deploy_address: ${_param:aptly_server_address}
cluster_domain: mcp-offline.local
cluster_name: mcp-offline
control_network_netmask: 255.255.255.0
tenant_network_netmask: 255.255.255.0
dns_server01: 8.8.8.8
dns_server02: 8.8.4.4
# Stub's
deploy_network_netmask: 255.255.0.0
deploy_network_gateway: 10.0.0.1
# Configuration of dummy apt01 salt-master, during generation
salt_master_base_environment: prd
reclass_data_repository: "https://github.com/Mirantis/reclass-system-salt-model"
reclass_data_revision: master
reclass_config_master: ${_param:infra_config_deploy_address}
single_address: ${_param:infra_config_address}
deploy_address: ${_param:infra_config_deploy_address}
linux_system_codename: xenial
salt_api_password_hash: "$6$YJog182m$2/VdfO/XQWrVbkQvh3Q3jSp941xQZOROdk6iJb2TfXkoMEi/Uu10sRqky7V3wHf7AYzMoAnr3hQyMC0esNMIn0"
salt_master_host: ${_param:infra_config_deploy_address}
# Override DebMirror to use Rsync which is available only internally
# Public host is under CloudFront - http/https only
debmirror_mirrors_sync_method: rsync
debmirror_mirrors_host: "mirror-us.mcp.mirantis.net"
debmirror_mirrors_root: ":mirror/${_param:mcp_version}"
debmirror_mirrors_update_root: ":mirror/update/${_param:mcp_version}"
salt:
master:
command_timeout: 240
user:
deploy:
permissions: ${_param:salt_master_api_permissions}
minion:
master:
host: "localhost"
trusted_ca_minions:
- ${_param:salt_minion_ca_host}
linux:
network:
interface:
ens3:
enabled: true
type: eth
proto: dhcp
host:
hostname:
address: ${_param:single_address}
names:
- ${linux:network:hostname}
- ${linux:network:fqdn}
apt:
address: ${_param:aptly_server_address}
names:
- ${_param:aptly_server_hostname}
- ${_param:aptly_server_hostname}.${_param:cluster_domain}
system:
name: ${_param:infra_config_hostname}
domain: ${_param:cluster_domain}
purge_repos: True
service:
apt-daily.timer:
status: dead
enabled: false
user:
root:
password: false
package:
cloud-init:
version: latest
reclass:
version: latest
nginx:
server:
site:
nginx_proxy_salt_api:
enabled: false
reclass:
storage:
data_source:
engine: local