/usr/lib/ruby/vendor_ruby/octocatalog-diff/cli/options/storeconfigs.rb is in octocatalog-diff 1.5.3-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | # frozen_string_literal: true
# Set storeconfigs (integration with PuppetDB for collected resources)
# @param parser [OptionParser object] The OptionParser argument
# @param options [Hash] Options hash being constructed; this is modified in this method.
OctocatalogDiff::Cli::Options::Option.newoption(:storeconfigs) do
has_weight 220
def parse(parser, options)
parser.on('--[no-]storeconfigs', 'Enable integration with puppetdb for collected resources') do |x|
options[:storeconfigs] = x
end
end
end
|