added new master 1
diff --git a/classes/cluster/mcp-offline/infra/config.yml b/classes/cluster/mcp-offline/infra/config.yml
index 9584e27..f024bad 100644
--- a/classes/cluster/mcp-offline/infra/config.yml
+++ b/classes/cluster/mcp-offline/infra/config.yml
@@ -17,7 +17,7 @@
single_address: ${_param:infra_config_address}
deploy_address: ${_param:infra_config_deploy_address}
linux_system_codename: xenial
- salt_api_password_hash: "$6$kyyYStvP$ECte5Soh5QF.4RCRuL78uoS7/0aTDU/e3qBXsi/rQSc.TfbBRFUX1qjrvXWBnNGAazll91nBYhdfzoNmZHNx1."
+ salt_api_password_hash: "$6$YJog182m$2/VdfO/XQWrVbkQvh3Q3jSp941xQZOROdk6iJb2TfXkoMEi/Uu10sRqky7V3wHf7AYzMoAnr3hQyMC0esNMIn0"
salt_master_host: ${_param:infra_config_deploy_address}
linux:
network:
@@ -38,14 +38,4 @@
reclass:
storage:
data_source:
- engine: local
- node:
- aptly_server_node01:
- name: ${_param:aptly_server_hostname}01
- domain: ${_param:cluster_domain}
- classes:
- - cluster.${_param:cluster_name}.infra.aptly
- params:
- salt_master_host: ${_param:reclass_config_master}
- linux_system_codename: xenial
- single_address: ${_param:aptly_server_address}
+ engine: local
\ No newline at end of file
diff --git a/classes/cluster/mcp-offline/infra/init.yml b/classes/cluster/mcp-offline/infra/init.yml
index d1e0758..31f2fd0 100644
--- a/classes/cluster/mcp-offline/infra/init.yml
+++ b/classes/cluster/mcp-offline/infra/init.yml
@@ -11,7 +11,7 @@
aptly_server_hostname: apt
aptly_server_address: 10.1.0.14
linux_repo_refresh_db: true
- infra_config_hostname: cfg01
+ infra_config_hostname: apt01
salt_minion_ca_host: ${_param:infra_config_hostname}.${_param:cluster_domain}
# infra service addresses
infra_config_address: 10.4.0.15
diff --git a/nodes/cfg01.mcp-offline.local.yml b/nodes/apt01.mcp-offline.local.yml
similarity index 78%
rename from nodes/cfg01.mcp-offline.local.yml
rename to nodes/apt01.mcp-offline.local.yml
index d91d64e..f4e2080 100644
--- a/nodes/cfg01.mcp-offline.local.yml
+++ b/nodes/apt01.mcp-offline.local.yml
@@ -1,10 +1,11 @@
classes:
- cluster.mcp-offline.infra.config
+- cluster.mcp-offline.infra.aptly
parameters:
_param:
linux_system_codename: xenial
reclass_data_revision: master
linux:
system:
- name: cfg01
+ name: apt01
domain: mcp-offline.local