Merge pull request #101 from kinners00/adhoc-content
add tasks and plans directories
This commit is contained in:
		
						commit
						9302714509
					
				
							
								
								
									
										9
									
								
								site-modules/adhoc/plans/myplan.pp
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								site-modules/adhoc/plans/myplan.pp
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,9 @@
 | 
			
		||||
# This is a description for my plan
 | 
			
		||||
plan adhoc::myplan(
 | 
			
		||||
  # input parameters go here
 | 
			
		||||
  TargetSpec $targets,
 | 
			
		||||
) {
 | 
			
		||||
 | 
			
		||||
  # plan steps go here
 | 
			
		||||
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										4
									
								
								site-modules/adhoc/tasks/nix_example.json
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										4
									
								
								site-modules/adhoc/tasks/nix_example.json
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,4 @@
 | 
			
		||||
{
 | 
			
		||||
    "description": "This is the description for the nix_example task",
 | 
			
		||||
    "input_method": "environment"
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										3
									
								
								site-modules/adhoc/tasks/nix_example.sh
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								site-modules/adhoc/tasks/nix_example.sh
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,3 @@
 | 
			
		||||
#!/bin/bash
 | 
			
		||||
 | 
			
		||||
# task content goes here
 | 
			
		||||
							
								
								
									
										4
									
								
								site-modules/adhoc/tasks/win_example.json
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										4
									
								
								site-modules/adhoc/tasks/win_example.json
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,4 @@
 | 
			
		||||
{
 | 
			
		||||
    "description": "This is the description for the win_example task",
 | 
			
		||||
    "input_method": "powershell"
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										1
									
								
								site-modules/adhoc/tasks/win_example.ps1
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								site-modules/adhoc/tasks/win_example.ps1
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1 @@
 | 
			
		||||
# task content goes here
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user