forked from ungleich-public/cdist
		
	[directory] add alpine support
This commit is contained in:
		
					parent
					
						
							
								1722fced72
							
						
					
				
			
			
				commit
				
					
						63d7499b75
					
				
			
		
					 2 changed files with 10 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -32,6 +32,13 @@ group: %Dg %Sg
 | 
			
		|||
mode: %Lp %Sp
 | 
			
		||||
" "$destination" | awk '/^type/ { print tolower($0); next; } { print; }'
 | 
			
		||||
      ;;
 | 
			
		||||
   alpine)
 | 
			
		||||
      stat -c "type: %F
 | 
			
		||||
owner: %u %U
 | 
			
		||||
group: %g %G
 | 
			
		||||
mode: %a %A
 | 
			
		||||
" "$destination"
 | 
			
		||||
      ;;
 | 
			
		||||
   *)
 | 
			
		||||
       stat --printf="type: %F
 | 
			
		||||
owner: %u %U
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -3,6 +3,7 @@ Changelog
 | 
			
		|||
 | 
			
		||||
next:
 | 
			
		||||
	* Type __package: Add __package_apk support (Nico Schottelius)
 | 
			
		||||
	* Type __directory: Add alpine support (Nico Schottelius)
 | 
			
		||||
	* Type __file: Add alpine support (Nico Schottelius)
 | 
			
		||||
	* Type __hostname: Add alpine support (Nico Schottelius)
 | 
			
		||||
	* Type __locale: Add alpine support (Nico Schottelius)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue