Deploy openresty proxy on draco

Also update Chef to 18.2.7
This commit is contained in:
Greg Karékinian 2023-07-17 18:09:13 +02:00
parent 7b0313fbd4
commit 1a19fa012d

View File

@ -1,5 +1,6 @@
{ {
"name": "draco.kosmos.org", "name": "draco.kosmos.org",
"chef_environment": "production",
"normal": { "normal": {
"knife_zero": { "knife_zero": {
"host": "10.1.1.167" "host": "10.1.1.167"
@ -8,6 +9,9 @@
"backup": { "backup": {
"schedule": "0/3:55" "schedule": "0/3:55"
} }
},
"openresty": {
"listen_ip": "148.251.237.111"
} }
}, },
"automatic": { "automatic": {
@ -17,7 +21,8 @@
"hostname": "draco", "hostname": "draco",
"ipaddress": "148.251.237.73", "ipaddress": "148.251.237.73",
"roles": [ "roles": [
"openresty_proxy",
"openresty"
], ],
"recipes": [ "recipes": [
"kosmos-base", "kosmos-base",
@ -30,7 +35,10 @@
"kosmos-ipfs::firewall_swarm", "kosmos-ipfs::firewall_swarm",
"kosmos-bitcoin::firewall", "kosmos-bitcoin::firewall",
"kosmos_zerotier::firewall", "kosmos_zerotier::firewall",
"kosmos-nginx::firewall", "kosmos_openresty",
"kosmos_openresty::default",
"kosmos_openresty::firewall",
"kosmos_assets::nginx_site",
"sockethub::firewall", "sockethub::firewall",
"apt::default", "apt::default",
"timezone_iii::default", "timezone_iii::default",
@ -47,19 +55,30 @@
"postfix::sasl_auth", "postfix::sasl_auth",
"hostname::default", "hostname::default",
"firewall::default", "firewall::default",
"chef-sugar::default" "openresty::apt_package",
"openresty::ohai_plugin",
"openresty::commons_user",
"openresty::commons_dir",
"openresty::commons_script",
"openresty::commons_conf",
"logrotate::default",
"openresty::luarocks",
"git::default",
"git::package",
"kosmos-base::letsencrypt"
], ],
"platform": "ubuntu", "platform": "ubuntu",
"platform_version": "20.04", "platform_version": "20.04",
"cloud": null, "cloud": null,
"chef_packages": { "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": { "chef": {
"version": "15.17.4", "version": "18.2.7",
"chef_root": "/opt/chef/embedded/lib/ruby/gems/2.6.0/gems/chef-15.17.4/lib" "chef_root": "/opt/chef/embedded/lib/ruby/gems/3.1.0/gems/chef-18.2.7/lib",
"chef_effortless": null
},
"ohai": {
"version": "18.1.4",
"ohai_root": "/opt/chef/embedded/lib/ruby/gems/3.1.0/gems/ohai-18.1.4/lib/ohai"
} }
} }
}, },
@ -72,7 +91,7 @@
"recipe[kosmos-ipfs::firewall_swarm]", "recipe[kosmos-ipfs::firewall_swarm]",
"recipe[kosmos-bitcoin::firewall]", "recipe[kosmos-bitcoin::firewall]",
"recipe[kosmos_zerotier::firewall]", "recipe[kosmos_zerotier::firewall]",
"recipe[kosmos-nginx::firewall]", "role[openresty_proxy]",
"recipe[sockethub::firewall]" "recipe[sockethub::firewall]"
] ]
} }