diff options
author | mail_redacted_for_web | 2021-06-11 09:04:42 -0700 |
---|---|---|
committer | mail_redacted_for_web | 2021-06-11 09:04:42 -0700 |
commit | 93027145096d9f1e0b716b20b8129618d0a2c7e2 (patch) | |
tree | 6c84098e5069d76b41d65fe276ba1d89066f13cf | |
parent | eb60aab156a8c15cd82fd51b0c0f3a7157796cf1 (diff) | |
parent | 831d665de9a0dddf9beb5876b1f80119bf32fb0f (diff) | |
download | control-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.pp | 9 | ||||
-rw-r--r-- | site-modules/adhoc/tasks/nix_example.json | 4 | ||||
-rw-r--r-- | site-modules/adhoc/tasks/nix_example.sh | 3 | ||||
-rw-r--r-- | site-modules/adhoc/tasks/win_example.json | 4 | ||||
-rw-r--r-- | site-modules/adhoc/tasks/win_example.ps1 | 1 |
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 |