Create new nodejs VM, move kredits-github to it
This commit is contained in:
parent
5a8d780d37
commit
ddded6fbae
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"name": "nodejs-2",
|
||||
"public_key": "-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAuWyrBQXathrKzRO7HbX7\nZXqkeGo7X0q3qckO/Uh4Ht67bFb6iQDRo/gRkaVA0PM++2AhtW7wV2NYXR/3qowc\n1gGtO0zuQq56crcL7k9nVuFJ1IbYDyasEq+5nUKzEUVT0hK1/Vzh12gLFhDkBOX+\nCvISLTTQgEGljwNQLf1kZTraJcdDSN0R2k2jl+idJkeAuK5cjMEJa7Fog8scM2rR\nzGhB8gDRp+iq4HQ+yE3R1yXW9rBfWoConnXiNxholt3e2aAte2V1KnEmVLO/8ceo\nvqIp5xEcDKIAIrSqsmopRFXJ0PjS/nbS0Z2ynxpyh1BV4sqr/y4oOryrnwO+LqBB\nHwIDAQAB\n-----END PUBLIC KEY-----\n"
|
||||
}
|
|
@ -103,7 +103,6 @@
|
|||
},
|
||||
"run_list": [
|
||||
"role[base]",
|
||||
"role[kredits_github]",
|
||||
"recipe[kosmos-ipfs]",
|
||||
"recipe[kosmos-hubot::botka_freenode]",
|
||||
"recipe[kosmos-hubot::hal8000]",
|
||||
|
|
|
@ -1,22 +1,25 @@
|
|||
{
|
||||
"name": "nodejs-1",
|
||||
"name": "nodejs-2",
|
||||
"normal": {
|
||||
"knife_zero": {
|
||||
"host": "10.1.1.3"
|
||||
"host": "10.1.1.229"
|
||||
}
|
||||
},
|
||||
"automatic": {
|
||||
"fqdn": "nodejs-1",
|
||||
"fqdn": "nodejs-2",
|
||||
"os": "linux",
|
||||
"os_version": "5.4.0-1028-kvm",
|
||||
"hostname": "nodejs-1",
|
||||
"ipaddress": "192.168.122.57",
|
||||
"os_version": "5.4.0-1031-kvm",
|
||||
"hostname": "nodejs-2",
|
||||
"ipaddress": "192.168.122.243",
|
||||
"roles": [
|
||||
|
||||
"kredits_github"
|
||||
],
|
||||
"recipes": [
|
||||
"kosmos-base",
|
||||
"kosmos-base::default",
|
||||
"kredits-github",
|
||||
"kredits-github::default",
|
||||
"kredits-github::nginx",
|
||||
"apt::default",
|
||||
"timezone_iii::default",
|
||||
"timezone_iii::debian",
|
||||
|
@ -30,23 +33,38 @@
|
|||
"postfix::_common",
|
||||
"postfix::_attributes",
|
||||
"postfix::sasl_auth",
|
||||
"hostname::default"
|
||||
"hostname::default",
|
||||
"kosmos-nodejs::default",
|
||||
"nodejs::nodejs_from_package",
|
||||
"nodejs::repo",
|
||||
"kosmos-nginx::default",
|
||||
"nginx::default",
|
||||
"nginx::package",
|
||||
"nginx::ohai_plugin",
|
||||
"nginx::repo",
|
||||
"nginx::commons",
|
||||
"nginx::commons_dir",
|
||||
"nginx::commons_script",
|
||||
"nginx::commons_conf",
|
||||
"kosmos-nginx::firewall",
|
||||
"kosmos-base::letsencrypt"
|
||||
],
|
||||
"platform": "ubuntu",
|
||||
"platform_version": "20.04",
|
||||
"cloud": null,
|
||||
"chef_packages": {
|
||||
"chef": {
|
||||
"version": "15.14.0",
|
||||
"chef_root": "/opt/chef/embedded/lib/ruby/gems/2.6.0/gems/chef-15.14.0/lib"
|
||||
},
|
||||
"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.14.0",
|
||||
"chef_root": "/opt/chef/embedded/lib/ruby/gems/2.6.0/gems/chef-15.14.0/lib"
|
||||
}
|
||||
}
|
||||
},
|
||||
"run_list": [
|
||||
"recipe[kosmos-base]"
|
||||
"recipe[kosmos-base]",
|
||||
"role[kredits_github]"
|
||||
]
|
||||
}
|
|
@ -1,3 +1,3 @@
|
|||
node.default['kredits-github']['port'] = '3000'
|
||||
node.default['kredits-github']['revision'] = 'master'
|
||||
node.default['kredits-github']['domain'] = 'kredits-github.kosmos.org'
|
||||
node.default['kredits-github']['port'] = '3000'
|
||||
node.default['kredits-github']['revision'] = 'master'
|
||||
node.default['kredits-github']['domain'] = 'kredits-github.kosmos.org'
|
||||
|
|
Loading…
Reference in New Issue