Move static sites from centaurus to fornax/LB

pull/398/head
raucao 5 months ago
parent 5e38edb57e
commit 4cd0149f76
Signed by: raucao
GPG Key ID: 9F88009D31D99C72
  1. 4
      nodes/centaurus.kosmos.org.json
  2. 11
      nodes/fornax.kosmos.org.json
  3. 4
      roles/nginx_proxy.rb
  4. 1
      site-cookbooks/kosmos_website/metadata.rb
  5. 1
      site-cookbooks/kosmos_website/recipes/default.rb

@ -77,11 +77,7 @@
},
"run_list": [
"recipe[kosmos-base]",
"recipe[kosmos_encfs]",
"recipe[kosmos_assets::nginx_site]",
"recipe[kosmos_kvm::host]",
"recipe[kosmos-ejabberd::firewall]",
"recipe[kosmos_website::default]",
"recipe[kosmos_zerotier::firewall]"
]
}

@ -12,15 +12,18 @@
"hostname": "fornax",
"ipaddress": "148.251.83.201",
"roles": [
"nginx_proxy"
],
"recipes": [
"kosmos-base",
"kosmos-base::default",
"kosmos_kvm::host",
"kosmos_assets::nginx_site",
"kosmos_discourse::nginx",
"kosmos_gitea::nginx",
"kosmos_drone::nginx",
"kosmos_gitea::nginx",
"kosmos_website",
"kosmos_website::default",
"apt::default",
"timezone_iii::default",
"timezone_iii::debian",
@ -45,6 +48,8 @@
"nginx::commons_script",
"nginx::commons_conf",
"kosmos-nginx::firewall",
"git::default",
"git::package",
"kosmos-base::letsencrypt"
],
"platform": "ubuntu",
@ -67,4 +72,4 @@
"recipe[kosmos_kvm::host]",
"role[nginx_proxy]"
]
}
}

@ -1,9 +1,11 @@
name "nginx_proxy"
default_run_list = %w(
kosmos_assets::nginx_site
kosmos_discourse::nginx
kosmos_gitea::nginx
kosmos_drone::nginx
kosmos_gitea::nginx
kosmos_website::default
)
env_run_lists(

@ -8,3 +8,4 @@ version '1.0.0'
chef_version '>= 15.10' if respond_to?(:chef_version)
depends "kosmos-nginx"
depends 'git'

@ -4,6 +4,7 @@
#
include_recipe "kosmos-nginx"
include_recipe "git"
domain = node["kosmos_website"]["domain"]

Loading…
Cancel
Save