Set up a testing VM on draco

Currently only has base recipe and nginx with certbot running.

https://test-2.kosmos.org/
This commit is contained in:
Basti 2020-09-06 14:00:35 +02:00
parent ded21fb009
commit ee7a853b5c
Signed by untrusted user: basti
GPG Key ID: 9F88009D31D99C72
2 changed files with 56 additions and 0 deletions

4
clients/test-2.json Normal file
View File

@ -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"
}

52
nodes/test-2.json Normal file
View File

@ -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]"
]
}