Skip to content

Commit

Permalink
Add plan with optional params
Browse files Browse the repository at this point in the history
  • Loading branch information
conormurray95 committed Feb 25, 2021
1 parent 808d309 commit 3495af5
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions plans/optional_target.pp
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# A plan that has an optional targetspec param
# @param targets Targets to run the first task against.
plan teams_ui_bolt_project::optional_target(Optional[TargetSpec] $targets) {
out::message('Test output message')

return 'Plan completed'
}

0 comments on commit 3495af5

Please sign in to comment.