Skip to content

Commit 01e5098

Browse files
author
jordanbreen28
committed
(maint) - Update references of legacy IAC Team
1 parent 18d961b commit 01e5098

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

bin/dependency-checker

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,12 @@ OptionParser.new do |opts|
1919
options[:namespace] = namespace
2020
end
2121

22+
opts.on('-b bolt_project', '--bolt-project bolt_project', 'Check all modules within a bolt-project.yaml file.') do |bolt_project|
23+
raise 'You must specify a valid bolt-project.yaml' unless File.exist?(bolt_project) || bolt_project.end_with?('.yaml')
24+
25+
options[:bolt_project] = bolt_project
26+
end
27+
2228
opts.on('--endorsement endorsement', 'Filter a namespace search by endorsement (supported/approved/partner).') do |endorsement|
2329
raise 'You may only filter by one endorsement at a time' if options[:endorsement]
2430

@@ -86,8 +92,8 @@ if options[:namespace]
8692
runner.resolve_from_namespace(options[:namespace], options[:endorsement])
8793

8894
elsif ARGV.empty?
89-
puts "No module criteria specified. Defaulting to IAC supported modules.\n\n"
90-
runner.resolve_from_path('https://puppetlabs.github.io/iac/modules.json')
95+
puts "No module criteria specified. Defaulting to CAT supported modules.\n\n"
96+
runner.resolve_from_path('https://puppetlabs.github.io/content-and-tooling-team/modules/list.json')
9197

9298
elsif ARGV.map { |arg| File.basename arg } != ['metadata.json']
9399
runner.resolve_from_path(ARGV.first)

0 commit comments

Comments
 (0)