steven is right
Signed-off-by: Nico Schottelius <nico@freiheit.schottelius.org>
This commit is contained in:
		
					parent
					
						
							
								ab84a3cece
							
						
					
				
			
			
				commit
				
					
						00d5524af9
					
				
			
		
					 1 changed files with 94 additions and 2 deletions
				
			
		| 
						 | 
					@ -1,4 +1,4 @@
 | 
				
			||||||
- logging/cache rework
 | 
					- logging/cache destination
 | 
				
			||||||
    local:
 | 
					    local:
 | 
				
			||||||
        ~/.cdist/log/by-host/$__target/host/config/YYYY/MM/DD/hhmmss/
 | 
					        ~/.cdist/log/by-host/$__target/host/config/YYYY/MM/DD/hhmmss/
 | 
				
			||||||
        ~/.cdist/log/by-session/YYYY/MM/DD/hhmmss/$__target_host/
 | 
					        ~/.cdist/log/by-session/YYYY/MM/DD/hhmmss/$__target_host/
 | 
				
			||||||
| 
						 | 
					@ -8,5 +8,97 @@
 | 
				
			||||||
    remote:
 | 
					    remote:
 | 
				
			||||||
        /var/lib/cdist/YYYY-MM-DD-hhmmss-$sourcehost.$pid
 | 
					        /var/lib/cdist/YYYY-MM-DD-hhmmss-$sourcehost.$pid
 | 
				
			||||||
 | 
					
 | 
				
			||||||
- export
 | 
					    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
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue