Also adds a new garage gateway role, which only allows RPC (inter-node) traffic to Garage.
		
			
				
	
	
		
			13 lines
		
	
	
		
			282 B
		
	
	
	
		
			Ruby
		
	
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
		
			282 B
		
	
	
	
		
			Ruby
		
	
	
	
	
	
#
 | 
						|
# Cookbook:: kosmos_gitea
 | 
						|
# Recipe:: backup
 | 
						|
#
 | 
						|
# The MIT License (MIT)
 | 
						|
#
 | 
						|
 | 
						|
unless node.chef_environment == "development"
 | 
						|
  # backup the data dir and the config files
 | 
						|
  node.override["backup"]["archives"]["gitea"] = [node["gitea"]["working_directory"]]
 | 
						|
  include_recipe "backup"
 | 
						|
end
 |