Update firewall_rule resource
Updated cookbook
This commit is contained in:
		
							parent
							
								
									0c98e1c51a
								
							
						
					
					
						commit
						255ff036c3
					
				| @ -9,7 +9,7 @@ | ||||
| 
 | ||||
| include_recipe 'timezone-ii' | ||||
| 
 | ||||
| node.override['omnibus_updater']['version']              = '12.6.0' | ||||
| node.override['omnibus_updater']['version']              = '12.7.2' | ||||
| node.override['omnibus_updater']['kill_chef_on_upgrade'] = false | ||||
| include_recipe 'omnibus_updater' | ||||
| 
 | ||||
|  | ||||
| @ -8,18 +8,16 @@ | ||||
| # | ||||
| 
 | ||||
| # enable default firewall | ||||
| firewall 'ufw' do | ||||
|   action :enable | ||||
| end | ||||
| firewall 'default' | ||||
| 
 | ||||
| firewall_rule 'ssh' do | ||||
|   port     22 | ||||
|   protocol :tcp | ||||
|   action   :allow | ||||
|   command  :allow | ||||
| end | ||||
| 
 | ||||
| firewall_rule 'mosh' do | ||||
|   port     60000..61000 | ||||
|   protocol :udp | ||||
|   action   :allow | ||||
|   command  :allow | ||||
| end | ||||
|  | ||||
| @ -28,5 +28,5 @@ include_recipe 'nginx' | ||||
| firewall_rule 'http/https' do | ||||
|   port     [80, 443] | ||||
|   protocol :tcp | ||||
|   action   :allow | ||||
|   command  :allow | ||||
| end | ||||
|  | ||||
| @ -10,7 +10,7 @@ | ||||
| firewall_rule 'sockethub' do | ||||
|   port     node['sockethub']['external_port'].to_i | ||||
|   protocol :tcp | ||||
|   action   :allow | ||||
|   command  :allow | ||||
| end | ||||
| 
 | ||||
| include_recipe 'kosmos-nginx' | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user