fix initial manifest and reorder HACKERS_README
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
		
					parent
					
						
							
								ff41ce0318
							
						
					
				
			
			
				commit
				
					
						de43f4d5d8
					
				
			
		
					 2 changed files with 9 additions and 7 deletions
				
			
		| 
						 | 
					@ -35,6 +35,12 @@ explorer_tmp=/tmp/localhost/explorers
 | 
				
			||||||
exec_tmp=/tmp/localhost/exec
 | 
					exec_tmp=/tmp/localhost/exec
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# Run explorer on a "remote" host
 | 
				
			||||||
 | 
					cdist-explorer-run localhost "$explorer_tmp"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# Display result
 | 
				
			||||||
 | 
					find "$explorer_tmp"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Test first level manifest execution
 | 
					# Test first level manifest execution
 | 
				
			||||||
cdist-manifest-init localhost "$object_tmp"
 | 
					cdist-manifest-init localhost "$object_tmp"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					@ -47,12 +53,6 @@ cdist-manifest-run-all localhost "$object_tmp"
 | 
				
			||||||
# See what it generated
 | 
					# See what it generated
 | 
				
			||||||
find "$object_tmp"
 | 
					find "$object_tmp"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Run explorer on a "remote" host
 | 
					 | 
				
			||||||
cdist-explorer-run localhost "$explorer_tmp"
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
# Display result
 | 
					 | 
				
			||||||
find "$explorer_tmp"
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
# Generate code for all objects in object dir
 | 
					# Generate code for all objects in object dir
 | 
				
			||||||
cdist-object-codegen-all localhost "$object_tmp" "$exec_tmp"
 | 
					cdist-object-codegen-all localhost "$object_tmp" "$exec_tmp"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -5,7 +5,9 @@
 | 
				
			||||||
# All ikqs get a sample file
 | 
					# All ikqs get a sample file
 | 
				
			||||||
case "$__cdist_target_host" in
 | 
					case "$__cdist_target_host" in
 | 
				
			||||||
   ikq*|localhost)
 | 
					   ikq*|localhost)
 | 
				
			||||||
      __file cdist-config --source /home/users/nico/p/cdist/bin/cdist-config  --destination /usr/bin/cdist-config
 | 
					      __file cdist-config --source /home/users/nico/p/cdist/bin/cdist-config  \
 | 
				
			||||||
 | 
					                          --destination /usr/bin/cdist-config \
 | 
				
			||||||
 | 
					                          --type file
 | 
				
			||||||
      __issue iddoesnotmatterhere
 | 
					      __issue iddoesnotmatterhere
 | 
				
			||||||
      ;;
 | 
					      ;;
 | 
				
			||||||
esac
 | 
					esac
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue