From ee7a853b5c816df056c44a6175372d7fdc25b4aa Mon Sep 17 00:00:00 2001 From: Sebastian Kippe Date: Sun, 6 Sep 2020 14:00:35 +0200 Subject: [PATCH] Set up a testing VM on draco Currently only has base recipe and nginx with certbot running. https://test-2.kosmos.org/ --- clients/test-2.json | 4 ++++ nodes/test-2.json | 52 +++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 56 insertions(+) create mode 100644 clients/test-2.json create mode 100644 nodes/test-2.json diff --git a/clients/test-2.json b/clients/test-2.json new file mode 100644 index 0000000..12c109c --- /dev/null +++ b/clients/test-2.json @@ -0,0 +1,4 @@ +{ + "name": "test-2", + "public_key": "-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAyU+Pg4svFeiLc4/OogiZ\n45MgXWMT7/S28R5lDQ3QwCc4c3mGEfkoiOzBmPpf/JuTIRO6W8hsXQNm5Wr3jGYa\nIKHtfSqNufLievLxymR781Grkzxsy8GefeUajNn0Nypjs4ACso2rdX3KmQ/xJr4n\nFKk6Jj08Fp/7i7kzgC8WA6ZeuVPRw9PODTof7x1BMoTfUXaGPPEIVxtv7cZBdkp1\nQK3F2A8nokqDo3630iOq/P29h80STGmeH8hjpICTGxYDOR/vvp7Zs7z8aueZ6iUT\n3oit8w+gAI4RTgu4bgPbwsh5nfIXZaJeSVrV6zpPO5usMbWWDJgdbhwbAGGYVSFp\nEQIDAQAB\n-----END PUBLIC KEY-----\n" +} \ No newline at end of file diff --git a/nodes/test-2.json b/nodes/test-2.json new file mode 100644 index 0000000..aac9607 --- /dev/null +++ b/nodes/test-2.json @@ -0,0 +1,52 @@ +{ + "name": "test-2", + "normal": { + "knife_zero": { + "host": "10.147.20.109" + } + }, + "automatic": { + "fqdn": "test-2", + "os": "linux", + "os_version": "5.4.0-45-generic", + "hostname": "test-2", + "ipaddress": "192.168.122.166", + "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": { + "ohai": { + "version": "15.12.0", + "ohai_root": "/opt/chef/embedded/lib/ruby/gems/2.6.0/gems/ohai-15.12.0/lib/ohai" + }, + "chef": { + "version": "15.13.8", + "chef_root": "/opt/chef/embedded/lib/ruby/gems/2.6.0/gems/chef-15.13.8/lib" + } + } + }, + "run_list": [ + "recipe[kosmos-base]" + ] +} \ No newline at end of file