forked from ungleich-public/cdist
		
	indentions, whitespace
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
This commit is contained in:
		
					parent
					
						
							
								8ab408f890
							
						
					
				
			
			
				commit
				
					
						2cfa046cdd
					
				
			
		
					 2 changed files with 10 additions and 12 deletions
				
			
		| 
						 | 
				
			
			@ -1,6 +1,6 @@
 | 
			
		|||
#!/bin/sh
 | 
			
		||||
#
 | 
			
		||||
# 2011 Nico Schottelius (nico-cdist at schottelius.org)
 | 
			
		||||
# 2011-2012 Nico Schottelius (nico-cdist at schottelius.org)
 | 
			
		||||
#
 | 
			
		||||
# This file is part of cdist.
 | 
			
		||||
#
 | 
			
		||||
| 
						 | 
				
			
			@ -25,7 +25,6 @@ os="$(cat "$__global/explorer/os")"
 | 
			
		|||
 | 
			
		||||
if [ -f "$__object/parameter/source" ]; then
 | 
			
		||||
    source="$(cat "$__object/parameter/source")"
 | 
			
		||||
   echo using $source
 | 
			
		||||
else
 | 
			
		||||
    case "$os" in
 | 
			
		||||
        archlinux|redhat)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -64,4 +64,3 @@ require="__directory${sshpath}" \
 | 
			
		|||
# the line added depends on authorized_keys existence
 | 
			
		||||
require="__file${sshpath}/authorized_keys" __addifnosuchline sshkey --file \
 | 
			
		||||
 "$sshpath/authorized_keys" --line "$rsa"
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue