This file is indexed.

/usr/bin/rspec-puppet-init is in ruby-rspec-puppet 2.2.0-1.

This file is owned by root:root, with mode 0o755.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/ruby

$:.unshift File.join(File.dirname(__FILE__), *%w[.. lib])

require 'rspec-puppet'
require 'optparse'

options = {
  :module_name => nil,
}

OptionParser.new do |opts|
  opts.banner = "Usage: rspec-puppet-init [options]"

  opts.on('-n', '--name NAME', 'The name of the module (override autodetection)') do |v|
    options[:module_name] = v
  end
end.parse!

RSpec::Puppet::Setup.run(options[:module_name])