diff --git a/plans/init.pp b/plans/count.pp similarity index 54% rename from plans/init.pp rename to plans/count.pp index 22be832..64134f5 100644 --- a/plans/init.pp +++ b/plans/count.pp @@ -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}" )