forked from ungleich-public/cdist
		
	+some ssh hints, localhost hint
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
		
					parent
					
						
							
								2c0a7adf74
							
						
					
				
			
			
				commit
				
					
						1dcc3b771e
					
				
			
		
					 1 changed files with 20 additions and 0 deletions
				
			
		| 
						 | 
					@ -14,6 +14,10 @@ This tutorial is aimed at people learning cdist and shows
 | 
				
			||||||
typical approaches as well as gives an easy start into
 | 
					typical approaches as well as gives an easy start into
 | 
				
			||||||
the world of configuration management.
 | 
					the world of configuration management.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					This tutorial assumes you are configuring **localhost**, because
 | 
				
			||||||
 | 
					it is always available. Just repace **localhost** with your target
 | 
				
			||||||
 | 
					host for real life usage.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
QUICK START
 | 
					QUICK START
 | 
				
			||||||
| 
						 | 
					@ -37,6 +41,19 @@ PermitRootLogin without-password
 | 
				
			||||||
PermitRootLogin yes
 | 
					PermitRootLogin yes
 | 
				
			||||||
--------------------------------------------------------------------------------
 | 
					--------------------------------------------------------------------------------
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					As cdist uses ssh intensively, it is recommended to setup authentication
 | 
				
			||||||
 | 
					with public keys:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					--------------------------------------------------------------------------------
 | 
				
			||||||
 | 
					# Generate pubkey pair as a normal user
 | 
				
			||||||
 | 
					ssh-keygen
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# Copy pubkey over to target host
 | 
				
			||||||
 | 
					ssh-copy-id root@target_host
 | 
				
			||||||
 | 
					--------------------------------------------------------------------------------
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					As soon as you are able to login to the target host
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
Before you can start using cdist, you need to ensure that
 | 
					Before you can start using cdist, you need to ensure that
 | 
				
			||||||
you can login 
 | 
					you can login 
 | 
				
			||||||
| 
						 | 
					@ -75,6 +92,9 @@ essentially shell scripts. Every manifest can use the types known to
 | 
				
			||||||
cdist, which are usually underline prefixed (\_\_).
 | 
					cdist, which are usually underline prefixed (\_\_).
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					SSH HINTS
 | 
				
			||||||
 | 
					---------
 | 
				
			||||||
 | 
					Control master, ssh agent
 | 
				
			||||||
 | 
					
 | 
				
			||||||
Everything you specify in manifests
 | 
					Everything you specify in manifests
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue