blob: b3094069028c08cd1f615892a41757a21c6759e8 [file] [log] [blame]
Jiri Broulik361512c2018-04-05 16:34:23 +02001classes:
2- system.linux.system.single.debian
3#- system.openssh.server.team.cicd
4parameters:
5 _param:
6 # TODO: Uncomment next line "linux_system_user_sudo: true" during the deployment.
7 # Don't set it "false" before you configure sudo policies and enable power users.
8 # linux_system_user_sudo: true
azvyagintsev32b7d992018-06-06 19:04:56 +03009 apt_mk_version: "proposed"
Jiri Broulik361512c2018-04-05 16:34:23 +020010 linux_repo_refresh_db: true
11 infra_config_hostname: cfg01
12 salt_minion_ca_host: ${_param:infra_config_hostname}.${_param:cluster_domain}
13 # infra service addresses
14 infra_config_address: 127.0.0.1
15 infra_config_deploy_address: 127.0.0.1
16 cluster_domain: mcp-day01.local
17 cluster_name: mcp-day01
azvyagintsevb08a7cb2018-07-11 19:33:47 +030018 # Mirantis resolver
19 dns_server01: 172.18.208.44
20 dns_server02: 8.8.8.8
azvyagintsev263e57e2018-08-29 12:58:25 +030021 company_name: Mirantis
22 banner: |
23 =================================== WARNING ====================================
24 You have accessed a computer managed by ${_param:company_name}.
25 You are required to have authorisation from ${_param:company_name}
26 before you proceed and you are strictly limited to use set out within that
27 authorisation. Unauthorised access to or misuse of this system is prohibited
28 and constitutes an offence under the Computer Misuse Act 1990.
29 If you disclose any information obtained through this system without authority
30 ${_param:company_name} may take legal action against you.
31 ================================================================================
Jiri Broulik361512c2018-04-05 16:34:23 +020032 salt:
33 minion:
34 trusted_ca_minions:
35 - ${_param:salt_minion_ca_host}
36 linux:
37 system:
38 name: ${_param:infra_config_hostname}
39 domain: ${_param:cluster_domain}
40 purge_repos: True
41 service:
42 apt-daily.timer:
43 status: dead
44 user:
45 root:
46 password: false
azvyagintsev263e57e2018-08-29 12:58:25 +030047 banner:
48 enabled: true
49 contents: ${_param:banner}
50 motd:
51 - banner:
52 ${_param:char_number_sign}!/bin/bash
53
54 cat << _EOF
55
56 ${_param:banner}_EOF
57 [ -r /etc/image_version ] && . /etc/image_version
58 echo "Ubuntu 16.04 \"Xenial\" Mirantis day01 cloud image"
59 echo "Build date: ${BUILD_TIMESTAMP_RFC}"
Jiri Broulik19cb3ec2018-04-11 13:20:58 +020060 package:
61 cloud-init:
62 version: latest
azvyagintsev32b7d992018-06-06 19:04:56 +030063 reclass:
64 version: latest
alexz48bef3f2018-04-16 12:01:45 +020065 jq:
66 version: latest
azvyagintsev3e1fa1b2018-07-30 16:45:19 +020067 # salt-formulas/reclass
68 python-netaddr:
69 version: latest
70 # salt-formulas/runtest
71 python-jsonpath-rw:
72 version: latest
azvyagintsev263e57e2018-08-29 12:58:25 +030073 openssh:
74 server:
75 banner: ${_param:banner}