From 4309efd228f15250ecab8a22b4f376d1475c186f Mon Sep 17 00:00:00 2001 From: Sebastian Kippe Date: Thu, 7 Jan 2021 12:53:20 +0100 Subject: [PATCH] Add postgres-2 VM --- clients/postgres-2.json | 4 ++++ nodes/postgres-2.json | 52 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 56 insertions(+) create mode 100644 clients/postgres-2.json create mode 100644 nodes/postgres-2.json diff --git a/clients/postgres-2.json b/clients/postgres-2.json new file mode 100644 index 0000000..c7d7da8 --- /dev/null +++ b/clients/postgres-2.json @@ -0,0 +1,4 @@ +{ + "name": "postgres-2", + "public_key": "-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAoQmrHoW5X6jpN6cJnafW\nWKz1LpT2DvOFPeRmrlSPOPIUSVPUMZI8ojdxzmri/dzC8C4quCIYaL5ssARhe17L\no16LG3z/wdPENYONBj/oH5GRvmG1/uCgzL5+QQENk3kAWVAUb7EL3EgHNx90b2oC\nDNoHcjuoi3ZkCUXxkX7BESvw1jII4hP+HyoIqGh8TZLIAQ25/mS9aNL3TbcLYp5d\npqoM0Ruc4DHVuZTamN+zBZwNRCBz6uxMmaEBD+piYTEPJOnf7yUT7d2l/QzLftfE\nkSo80KOyrPOFdIPCpqKJyPOJZgg7fSgpR0YC6BH7I/JgIsIwUsQcMS8/ELUC5+Zg\nfwIDAQAB\n-----END PUBLIC KEY-----\n" +} \ No newline at end of file diff --git a/nodes/postgres-2.json b/nodes/postgres-2.json new file mode 100644 index 0000000..f170a95 --- /dev/null +++ b/nodes/postgres-2.json @@ -0,0 +1,52 @@ +{ + "name": "postgres-2", + "normal": { + "knife_zero": { + "host": "10.1.1.99" + } + }, + "automatic": { + "fqdn": "postgres-2", + "os": "linux", + "os_version": "5.4.0-59-generic", + "hostname": "postgres-2", + "ipaddress": "192.168.122.244", + "roles": [ + + ], + "recipes": [ + "kosmos-base", + "kosmos-base::default", + "apt::default", + "timezone_iii::default", + "timezone_iii::debian", + "ntp::default", + "ntp::apparmor", + "kosmos-base::systemd_emails", + "apt::unattended-upgrades", + "kosmos-base::firewall", + "kosmos-postfix::default", + "postfix::default", + "postfix::_common", + "postfix::_attributes", + "postfix::sasl_auth", + "hostname::default" + ], + "platform": "ubuntu", + "platform_version": "20.04", + "cloud": null, + "chef_packages": { + "chef": { + "version": "15.15.0", + "chef_root": "/opt/chef/embedded/lib/ruby/gems/2.6.0/gems/chef-15.15.0/lib" + }, + "ohai": { + "version": "15.12.0", + "ohai_root": "/opt/chef/embedded/lib/ruby/gems/2.6.0/gems/ohai-15.12.0/lib/ohai" + } + } + }, + "run_list": [ + "recipe[kosmos-base]" + ] +} \ No newline at end of file