Create init.yml
diff --git a/classes/cluster/mcp-offline/infra/init.yml b/classes/cluster/mcp-offline/infra/init.yml
new file mode 100644
index 0000000..0c85d75
--- /dev/null
+++ b/classes/cluster/mcp-offline/infra/init.yml
@@ -0,0 +1,86 @@
+classes:
+- system.linux.system.single
+- system.openssh.server.team.cicd
+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
+ docker_compose_image: apt:5000/compose:1.8.0
+ apt_mk_version: stable
+ aptly_server_hostname: apt
+ aptly_server_address: 10.1.0.14
+ linux_repo_refresh_db: true
+ infra_config_hostname: cfg01
+ salt_minion_ca_host: ${_param:infra_config_hostname}.${_param:cluster_domain}
+ # infra service addresses
+ infra_config_address: 10.4.0.15
+ infra_config_deploy_address: 10.1.0.15
+
+ cluster_domain: mcp-offline-lab.local
+ cluster_name: mcp-offline-lab
+
+ 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
+
+ deploy_network_netmask: 255.255.0.0
+ deploy_network_gateway: 10.0.0.1
+
+ aptly_gpg_public_key: |
+ -----BEGIN PGP PUBLIC KEY BLOCK-----
+ Version: GnuPG v1
+
+ mQENBFmtOJQBCADQz9rkAd3Xbktncit1DrJHGAygniC5yVIGyWWwg7+0TLgP/ZNj
+ RwpJ2i59/oCSpGlzXWHKd1kIaapUxz9kn7+VdSrtZZgdzgO7EweGL95jbpxz1ECV
+ 6ddGs9KezXHRz8RiCtBwYvdN3021hKG7YU70wK8FsuJFWiRjkQ8GZsmA8AACiHFK
+ GQ4CIYDme8nunJwCrcdGauMoamPmTWGGTtbg7Ra85FX/emO7IqLpOjFUV+7SG+2N
+ LCr8kivnpomhI9QFeI2Pa/HKO4XJTMnOs6OTPcwD70Ha3iN3CO/bx5w+wWGbxZwe
+ EAb6vl/+aDcFX3KqtgeUe5vGxPxnjugq5+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2RE1BrHy2Q1XjKaEoe7Ox1YbEQ9y2
+ lil245bwZsP6d4dwEAHKiljPvu/Yy1I1hO+jAg6SDPK5Nh/pghP+s8mTCw8G86wh
+ iv0J4G/p03z/ijTJWSZE4lCZFejy3b85Rq5+5PHC71n6j5AD5khzgI7gtwlu02sC
+ UFStojSYh1YmZiG4HxEy7QDKF/gWr2/aMXcHgQYS
+ =sdaC
+ -----END PGP PUBLIC KEY BLOCK-----
+ salt:
+ minion:
+ trusted_ca_minions:
+ - ${_param:salt_minion_ca_host}
+ linux:
+ network:
+ 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