Override the attributes in attributes, not the default recipe
This commit is contained in:
		
							parent
							
								
									ddeebc739d
								
							
						
					
					
						commit
						0564165e81
					
				
							
								
								
									
										3
									
								
								site-cookbooks/kosmos-nodejs/attributes/default.rb
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								site-cookbooks/kosmos-nodejs/attributes/default.rb
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,3 @@ | ||||
| node.override["nodejs"]["repo"] = "https://deb.nodesource.com/node_14.x" | ||||
| # Allows upgrading | ||||
| node.override["nodejs"]["package_action"]["nodejs"] = :upgrade | ||||
| @ -3,7 +3,4 @@ | ||||
| # Recipe:: default | ||||
| # | ||||
| 
 | ||||
| node.normal["nodejs"]["repo"] = "https://deb.nodesource.com/node_14.x" | ||||
| # Allows upgrading | ||||
| node.normal["nodejs"]["package_action"]["nodejs"] = :upgrade | ||||
| include_recipe "nodejs::nodejs_from_package" | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user