Deploy openresty proxy on draco
Also update Chef to 18.2.7
This commit is contained in:
		
							parent
							
								
									7b0313fbd4
								
							
						
					
					
						commit
						1a19fa012d
					
				@ -1,5 +1,6 @@
 | 
			
		||||
{
 | 
			
		||||
  "name": "draco.kosmos.org",
 | 
			
		||||
  "chef_environment": "production",
 | 
			
		||||
  "normal": {
 | 
			
		||||
    "knife_zero": {
 | 
			
		||||
      "host": "10.1.1.167"
 | 
			
		||||
@ -8,6 +9,9 @@
 | 
			
		||||
      "backup": {
 | 
			
		||||
        "schedule": "0/3:55"
 | 
			
		||||
      }
 | 
			
		||||
    },
 | 
			
		||||
    "openresty": {
 | 
			
		||||
      "listen_ip": "148.251.237.111"
 | 
			
		||||
    }
 | 
			
		||||
  },
 | 
			
		||||
  "automatic": {
 | 
			
		||||
@ -17,7 +21,8 @@
 | 
			
		||||
    "hostname": "draco",
 | 
			
		||||
    "ipaddress": "148.251.237.73",
 | 
			
		||||
    "roles": [
 | 
			
		||||
 | 
			
		||||
      "openresty_proxy",
 | 
			
		||||
      "openresty"
 | 
			
		||||
    ],
 | 
			
		||||
    "recipes": [
 | 
			
		||||
      "kosmos-base",
 | 
			
		||||
@ -30,7 +35,10 @@
 | 
			
		||||
      "kosmos-ipfs::firewall_swarm",
 | 
			
		||||
      "kosmos-bitcoin::firewall",
 | 
			
		||||
      "kosmos_zerotier::firewall",
 | 
			
		||||
      "kosmos-nginx::firewall",
 | 
			
		||||
      "kosmos_openresty",
 | 
			
		||||
      "kosmos_openresty::default",
 | 
			
		||||
      "kosmos_openresty::firewall",
 | 
			
		||||
      "kosmos_assets::nginx_site",
 | 
			
		||||
      "sockethub::firewall",
 | 
			
		||||
      "apt::default",
 | 
			
		||||
      "timezone_iii::default",
 | 
			
		||||
@ -47,19 +55,30 @@
 | 
			
		||||
      "postfix::sasl_auth",
 | 
			
		||||
      "hostname::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_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.17.4",
 | 
			
		||||
        "chef_root": "/opt/chef/embedded/lib/ruby/gems/2.6.0/gems/chef-15.17.4/lib"
 | 
			
		||||
        "version": "18.2.7",
 | 
			
		||||
        "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-bitcoin::firewall]",
 | 
			
		||||
    "recipe[kosmos_zerotier::firewall]",
 | 
			
		||||
    "recipe[kosmos-nginx::firewall]",
 | 
			
		||||
    "role[openresty_proxy]",
 | 
			
		||||
    "recipe[sockethub::firewall]"
 | 
			
		||||
  ]
 | 
			
		||||
}
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user