git.lirion.de

Of git, get, and gud

summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormail_redacted_for_web 2021-06-11 09:04:42 -0700
committermail_redacted_for_web 2021-06-11 09:04:42 -0700
commit93027145096d9f1e0b716b20b8129618d0a2c7e2 (patch)
tree6c84098e5069d76b41d65fe276ba1d89066f13cf
parenteb60aab156a8c15cd82fd51b0c0f3a7157796cf1 (diff)
parent831d665de9a0dddf9beb5876b1f80119bf32fb0f (diff)
downloadcontrol-repo-template-93027145096d9f1e0b716b20b8129618d0a2c7e2.tar.bz2
Merge pull request #101 from kinners00/adhoc-content
add tasks and plans directories
-rw-r--r--site-modules/adhoc/plans/myplan.pp9
-rw-r--r--site-modules/adhoc/tasks/nix_example.json4
-rw-r--r--site-modules/adhoc/tasks/nix_example.sh3
-rw-r--r--site-modules/adhoc/tasks/win_example.json4
-rw-r--r--site-modules/adhoc/tasks/win_example.ps11
5 files changed, 21 insertions, 0 deletions
diff --git a/site-modules/adhoc/plans/myplan.pp b/site-modules/adhoc/plans/myplan.pp
new file mode 100644
index 0000000..e60e742
--- /dev/null
+++ b/site-modules/adhoc/plans/myplan.pp
@@ -0,0 +1,9 @@
+# This is a description for my plan
+plan adhoc::myplan(
+ # input parameters go here
+ TargetSpec $targets,
+) {
+
+ # plan steps go here
+
+}
diff --git a/site-modules/adhoc/tasks/nix_example.json b/site-modules/adhoc/tasks/nix_example.json
new file mode 100644
index 0000000..2c4d5c7
--- /dev/null
+++ b/site-modules/adhoc/tasks/nix_example.json
@@ -0,0 +1,4 @@
+{
+ "description": "This is the description for the nix_example task",
+ "input_method": "environment"
+}
diff --git a/site-modules/adhoc/tasks/nix_example.sh b/site-modules/adhoc/tasks/nix_example.sh
new file mode 100644
index 0000000..6b06377
--- /dev/null
+++ b/site-modules/adhoc/tasks/nix_example.sh
@@ -0,0 +1,3 @@
+#!/bin/bash
+
+# task content goes here
diff --git a/site-modules/adhoc/tasks/win_example.json b/site-modules/adhoc/tasks/win_example.json
new file mode 100644
index 0000000..42dccda
--- /dev/null
+++ b/site-modules/adhoc/tasks/win_example.json
@@ -0,0 +1,4 @@
+{
+ "description": "This is the description for the win_example task",
+ "input_method": "powershell"
+}
diff --git a/site-modules/adhoc/tasks/win_example.ps1 b/site-modules/adhoc/tasks/win_example.ps1
new file mode 100644
index 0000000..3a109ee
--- /dev/null
+++ b/site-modules/adhoc/tasks/win_example.ps1
@@ -0,0 +1 @@
+# task content goes here