forked from ungleich-public/cdist
		
	begin to cleanup stages document
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
		
					parent
					
						
							
								391c0ab455
							
						
					
				
			
			
				commit
				
					
						0da3483223
					
				
			
		
					 5 changed files with 14 additions and 34 deletions
				
			
		| 
						 | 
					@ -10,4 +10,12 @@ case "$__cdist_target_host" in
 | 
				
			||||||
                          --type file
 | 
					                          --type file
 | 
				
			||||||
      __issue iddoesnotmatterhere
 | 
					      __issue iddoesnotmatterhere
 | 
				
			||||||
      ;;
 | 
					      ;;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					   tee.schottelius.org)
 | 
				
			||||||
 | 
					      __package qemu-kvm --wtf installed
 | 
				
			||||||
 | 
					   ;;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					   katze*)
 | 
				
			||||||
 | 
					      __package qemu-kvm --wtf installed
 | 
				
			||||||
 | 
					   ;;
 | 
				
			||||||
esac
 | 
					esac
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,28 +0,0 @@
 | 
				
			||||||
#!/bin/sh
 | 
					 | 
				
			||||||
#
 | 
					 | 
				
			||||||
# 2010 Nico Schottelius (nico-cdist at schottelius.org)
 | 
					 | 
				
			||||||
#
 | 
					 | 
				
			||||||
# This file is part of cdist.
 | 
					 | 
				
			||||||
#
 | 
					 | 
				
			||||||
# cdist is free software: you can redistribute it and/or modify
 | 
					 | 
				
			||||||
# it under the terms of the GNU General Public License as published by
 | 
					 | 
				
			||||||
# the Free Software Foundation, either version 3 of the License, or
 | 
					 | 
				
			||||||
# (at your option) any later version.
 | 
					 | 
				
			||||||
#
 | 
					 | 
				
			||||||
# cdist is distributed in the hope that it will be useful,
 | 
					 | 
				
			||||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
 | 
					 | 
				
			||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 | 
					 | 
				
			||||||
# GNU General Public License for more details.
 | 
					 | 
				
			||||||
#
 | 
					 | 
				
			||||||
# You should have received a copy of the GNU General Public License
 | 
					 | 
				
			||||||
# along with cdist. If not, see <http://www.gnu.org/licenses/>.
 | 
					 | 
				
			||||||
#
 | 
					 | 
				
			||||||
#
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
cdist_dir()
 | 
					 | 
				
			||||||
{
 | 
					 | 
				
			||||||
   dst="$1"; shift
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
   # FIXME later: ownership, permissions, recursive
 | 
					 | 
				
			||||||
   mkdir "${dst}"
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
| 
						 | 
					@ -1 +1,3 @@
 | 
				
			||||||
mode
 | 
					mode
 | 
				
			||||||
 | 
					source
 | 
				
			||||||
 | 
					destination
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,3 +1 @@
 | 
				
			||||||
source
 | 
					 | 
				
			||||||
destination
 | 
					 | 
				
			||||||
type
 | 
					type
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -14,10 +14,10 @@ Starting the execution of deployment with cdist-deploy-to(1),
 | 
				
			||||||
cdist passes through different stages:
 | 
					cdist passes through different stages:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
- First stage: Get information about target
 | 
					- First stage: Get information about target
 | 
				
			||||||
   Every existing explorer (see cdist-explorers(7) is run on
 | 
					   Every existing explorer is run on the target and the results
 | 
				
			||||||
   the target and the results are copied back into the local
 | 
					   are copied back into the local cache.
 | 
				
			||||||
   cache (see cdist-cache(7)). These values can be used by
 | 
					   The results can be used by manifests and types.
 | 
				
			||||||
   manifests and types.
 | 
					   See cdist-explorers(7) and see cdist-cache(7).
 | 
				
			||||||
 | 
					
 | 
				
			||||||
- Second stage: Initial manifest run
 | 
					- Second stage: Initial manifest run
 | 
				
			||||||
   The initial manifest (see cdist-manifests(7) is run,
 | 
					   The initial manifest (see cdist-manifests(7) is run,
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue