Skip to content

Commit

Permalink
Fixup example plan
Browse files Browse the repository at this point in the history
  • Loading branch information
op-ct committed Dec 31, 2020
1 parent d797a6b commit 7436a10
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions plans/init.pp → plans/count.pp
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,8 @@
# @param targets
# By default: `repo_targets` group from inventory
#
# @param github_api_token
# GitHub API token. By default, this will use the `GITHUB_API_TOKEN` environment variable.
#
plan github_inventory(
plan github_inventory::count(
TargetSpec $targets = 'repo_targets',
String[1] $github_api_token = system::env('GITHUB_API_TOKEN'),
){
$repo_targets = get_targets($targets),
out::message( "Repos: ${targets.size}" )
Expand Down

0 comments on commit 7436a10

Please sign in to comment.