forked from ungleich-public/cdist
		
	rename all occurences of hardware_type to machine
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
This commit is contained in:
		
					parent
					
						
							
								441ebf94c1
							
						
					
				
			
			
				commit
				
					
						ecc0b2136d
					
				
			
		
					 2 changed files with 3 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -26,7 +26,7 @@
 | 
			
		|||
# set -x
 | 
			
		||||
 | 
			
		||||
os_version="$(cat "$__global/explorer/os_version")"
 | 
			
		||||
hardware_type="$(cat "$__global/explorer/hardware_type")"
 | 
			
		||||
machine="$(cat "$__global/explorer/machine")"
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
if [ -f "$__object/parameter/flavor" ]; then
 | 
			
		||||
| 
						 | 
				
			
			@ -46,7 +46,7 @@ state="$(cat "$__object/parameter/state")"
 | 
			
		|||
pkg_version="$(cat "$__object/explorer/pkg_version")"
 | 
			
		||||
 | 
			
		||||
# TODO: Shouldn't be hardcoded
 | 
			
		||||
echo export PKG_PATH=ftp://ftp.openbsd.org/pub/OpenBSD/$os_version/packages/$hardware_type/
 | 
			
		||||
echo export PKG_PATH=ftp://ftp.openbsd.org/pub/OpenBSD/$os_version/packages/$machine/
 | 
			
		||||
 | 
			
		||||
case "$state" in
 | 
			
		||||
   installed)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -2,6 +2,7 @@
 | 
			
		|||
	* Bugfix/Feature: Type __package_yum: Add centos support, fix redhat
 | 
			
		||||
	support (Ramon Salvadó)
 | 
			
		||||
	* New Type __timezone (Ramon Salvadó)
 | 
			
		||||
	* Rename explorer hardware_type to machine
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
1.6.2: 2011-04-19
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue