Run Chef with ejabberd role against new cluster nodes

This commit is contained in:
Basti 2022-01-18 12:28:56 -06:00
parent 58736f05ee
commit 6c8a98c524
Signed by untrusted user: basti
GPG Key ID: 9F88009D31D99C72
2 changed files with 46 additions and 20 deletions

View File

@ -8,15 +8,21 @@
"automatic": { "automatic": {
"fqdn": "ejabberd-3", "fqdn": "ejabberd-3",
"os": "linux", "os": "linux",
"os_version": "5.4.0-1026-kvm", "os_version": "5.4.0-1051-kvm",
"hostname": "ejabberd-3", "hostname": "ejabberd-3",
"ipaddress": "192.168.122.93", "ipaddress": "192.168.122.93",
"roles": [ "roles": [
"ejabberd",
"postgresql_client"
], ],
"recipes": [ "recipes": [
"kosmos-base", "kosmos-base",
"kosmos-base::default", "kosmos-base::default",
"kosmos_postgresql::hostsfile",
"kosmos-ejabberd",
"kosmos-ejabberd::default",
"kosmos-ejabberd::letsencrypt",
"kosmos-ejabberd::backup",
"apt::default", "apt::default",
"timezone_iii::default", "timezone_iii::default",
"timezone_iii::debian", "timezone_iii::debian",
@ -30,23 +36,30 @@
"postfix::_common", "postfix::_common",
"postfix::_attributes", "postfix::_attributes",
"postfix::sasl_auth", "postfix::sasl_auth",
"hostname::default" "hostname::default",
"kosmos-ejabberd::firewall",
"tor-full::default",
"kosmos-base::letsencrypt",
"backup::default",
"logrotate::default"
], ],
"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.15.1", "version": "17.9.26",
"chef_root": "/opt/chef/embedded/lib/ruby/gems/2.6.0/gems/chef-15.15.1/lib" "chef_root": "/opt/chef/embedded/lib/ruby/gems/3.0.0/gems/chef-17.9.26/lib",
"chef_effortless": null
},
"ohai": {
"version": "17.9.1",
"ohai_root": "/opt/chef/embedded/lib/ruby/gems/3.0.0/gems/ohai-17.9.1/lib/ohai"
} }
} }
}, },
"run_list": [ "run_list": [
"recipe[kosmos-base]" "recipe[kosmos-base]",
"role[ejabberd]"
] ]
} }

View File

@ -8,15 +8,21 @@
"automatic": { "automatic": {
"fqdn": "ejabberd-4", "fqdn": "ejabberd-4",
"os": "linux", "os": "linux",
"os_version": "5.4.0-1026-kvm", "os_version": "5.4.0-1051-kvm",
"hostname": "ejabberd-4", "hostname": "ejabberd-4",
"ipaddress": "192.168.122.39", "ipaddress": "192.168.122.39",
"roles": [ "roles": [
"ejabberd",
"postgresql_client"
], ],
"recipes": [ "recipes": [
"kosmos-base", "kosmos-base",
"kosmos-base::default", "kosmos-base::default",
"kosmos_postgresql::hostsfile",
"kosmos-ejabberd",
"kosmos-ejabberd::default",
"kosmos-ejabberd::letsencrypt",
"kosmos-ejabberd::backup",
"apt::default", "apt::default",
"timezone_iii::default", "timezone_iii::default",
"timezone_iii::debian", "timezone_iii::debian",
@ -30,23 +36,30 @@
"postfix::_common", "postfix::_common",
"postfix::_attributes", "postfix::_attributes",
"postfix::sasl_auth", "postfix::sasl_auth",
"hostname::default" "hostname::default",
"kosmos-ejabberd::firewall",
"tor-full::default",
"kosmos-base::letsencrypt",
"backup::default",
"logrotate::default"
], ],
"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.15.1", "version": "17.9.26",
"chef_root": "/opt/chef/embedded/lib/ruby/gems/2.6.0/gems/chef-15.15.1/lib" "chef_root": "/opt/chef/embedded/lib/ruby/gems/3.0.0/gems/chef-17.9.26/lib",
"chef_effortless": null
},
"ohai": {
"version": "17.9.1",
"ohai_root": "/opt/chef/embedded/lib/ruby/gems/3.0.0/gems/ohai-17.9.1/lib/ohai"
} }
} }
}, },
"run_list": [ "run_list": [
"recipe[kosmos-base]" "recipe[kosmos-base]",
"role[ejabberd]"
] ]
} }