forked from ungleich-public/cdist
		
	Merge branch 'master' into 4.0-pre-not-stable
This commit is contained in:
		
				commit
				
					
						494b6cbbf9
					
				
			
		
					 77 changed files with 1292 additions and 142 deletions
				
			
		
							
								
								
									
										18
									
								
								docs/dev/logs/2014-09-10.preos-keys
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										18
									
								
								docs/dev/logs/2014-09-10.preos-keys
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,18 @@ | |||
| 
 | ||||
| cdist preos keyramfs --keyfile --keyfile | ||||
| 
 | ||||
| [17:51] freiheit:vcs% mkdir preos-keys | ||||
| [17:51] freiheit:vcs% mkdir -p preos-keys/root/.ssh  | ||||
| [17:56] freiheit:vcs%  | ||||
| 
 | ||||
| chown root:root -R preos-keys/ | ||||
| chmod 0600 preos-keys/root/.ssh/authorized_keys  | ||||
| 
 | ||||
| chmod 0700 preos-keys/root/ | ||||
| chmod 0700 preos-keys/root/.ssh/ | ||||
| 
 | ||||
| [18:20:17] freiheit:/home/users/nico/.ungleich/ungleich/vcs/preos-keys# find . | cpio -H newc -o | gzip -9 >  ../initramfs.cpio.gz | ||||
| 4 blocks | ||||
| [18:21:08] freiheit:/home/users/nico/.ungleich/ungleich/vcs/preos-keys#  | ||||
| 
 | ||||
| 
 | ||||
							
								
								
									
										104
									
								
								docs/dev/logs/2014-11-11.discussion
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										104
									
								
								docs/dev/logs/2014-11-11.discussion
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,104 @@ | |||
| - logging/cache destination | ||||
|     local: | ||||
|         ~/.cdist/log/by-host/$__target/host/config/YYYY/MM/DD/hhmmss/ | ||||
|         ~/.cdist/log/by-session/YYYY/MM/DD/hhmmss/$__target_host/ | ||||
|             config/ | ||||
|             install/ | ||||
|             export/ | ||||
|     remote: | ||||
|         /var/lib/cdist/YYYY-MM-DD-hhmmss-$sourcehost.$pid | ||||
| 
 | ||||
|     rm old directories on remote side | ||||
| 
 | ||||
| - support for tags | ||||
|     - for partial configuration | ||||
|     - supports also install | ||||
|     - on object definition, define | ||||
|         - a) don't care (i.e. no tags) | ||||
|         - b) require tag (only if this tag is setup) | ||||
|         - c) require not tag (only if this tag is *not* setup) | ||||
|         - d) what if both given (conflicting) | ||||
|     - names for parameters: | ||||
|         - cdist config / cdist type | ||||
|             --if-tag / --not-if-tag / --require-tag | ||||
|             --not-if-tag | ||||
| 
 | ||||
| - logging | ||||
|     - command line | ||||
|     - stdin of cdist | ||||
|     - stdout/stderr/stdin of types | ||||
|         - new: stdout/stderr | ||||
|     - initial manifest | ||||
|         - if coming from stdin | ||||
| 
 | ||||
| - logging configurable | ||||
|     - to be discussed | ||||
| 
 | ||||
| - sudo remote | ||||
|     - cp to tmp & mv | ||||
|     - umask issue? | ||||
| 
 | ||||
| - install | ||||
|     - via tagged types | ||||
|     -  | ||||
| 
 | ||||
| - export | ||||
|     - one /export script per type | ||||
|     - exports of type running after object's code is done | ||||
|     - global export should also exist after everything | ||||
|     - PR & merge | ||||
|     - change DONE status to CODE_DONE | ||||
|     - introduce EXPORT_DONE | ||||
| 
 | ||||
| 
 | ||||
| - preos | ||||
|     - merge with debian support only | ||||
|     - we are open to support --os-type later | ||||
| 
 | ||||
| - stackable remotes | ||||
|     - change API for remote_exec and remote_copy | ||||
|     - new minor version | ||||
|     - PR & merge | ||||
| 
 | ||||
| - locking | ||||
|     - optional | ||||
|     - remote lock | ||||
|     - based on $(ls /var/lib/cdist/) > 0 | ||||
| 
 | ||||
| - ideas for parallelisation | ||||
|     - run explorer in parallel | ||||
|         - type | ||||
|         - object | ||||
|     - objects without dependencies can be run in parallel | ||||
| 
 | ||||
| - connection test | ||||
|     - just implement | ||||
| 
 | ||||
| - multi user environment | ||||
|     - not really needed [at the moment] | ||||
|     - can be implemented by  | ||||
|         - git branches | ||||
|         - setting the output dir | ||||
| 
 | ||||
| - python2 support with __future__ | ||||
|     - steven votes against it | ||||
|     - nico does not care too much to object | ||||
| 
 | ||||
| 
 | ||||
| - pull based | ||||
|     - sshd / stdin + stdout | ||||
|     - use Use ProxyCommand with stdin/stdout | ||||
|         - http://www.nico.schottelius.org/blog/openssh-6.2-add-callback-functionality-using-dynamic-remote-port-forwarding/ | ||||
| 
 | ||||
|     - cdist grant-pull-access <targethost> | ||||
|         - generate user | ||||
|         - ssh pubkeypair | ||||
|     - call wraper script on targethost | ||||
|         - it is shell! | ||||
|         - ssh cdistuser@controlhost  | ||||
| 
 | ||||
| - config replay/redo/undo | ||||
|     - not now | ||||
| 
 | ||||
| 
 | ||||
| - have a new discussion about handling uris | ||||
|  | @ -5,10 +5,6 @@ Feel free to pick one! | |||
| 
 | ||||
| CORE | ||||
| ---- | ||||
| - support default parameter | ||||
| - document and add paremeters for remote-copy and remote-exec! | ||||
|     - remove hack, make a feature of it | ||||
| 
 | ||||
| - remove var=foo calls on remote side. Use -o SendEnv (yeah, see ssh_config(5)) | ||||
| 
 | ||||
| TESTS | ||||
|  | @ -23,9 +19,6 @@ TESTS | |||
| 
 | ||||
| USER INTERFACE | ||||
| -------------- | ||||
| - How to cleanly implement "restart service if config file changed" | ||||
|     -> document | ||||
| 
 | ||||
| - Cache | ||||
|    - add example how to use  | ||||
|    - export variable $__cache | ||||
|  | @ -45,7 +38,6 @@ TYPES | |||
| - Add testing framework (proposed by Evax Software) | ||||
| - __user | ||||
|    add option to include --create-home | ||||
| - Merge __addifnosuchline and __removeline into __line + --state present|absent | ||||
| - __cron: Support --file to be used instead of user cron (probably direct support | ||||
|     of /etc/cron.d) | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue