Sha256: 0f5dada48867a0d603658d318154bb32460f3095c1d911fec189282788c18a6f

Contents?: true

Size: 618 Bytes

Versions: 4

Compression:

Stored size: 618 Bytes

Contents

# Specify the hostname, or hostname:port, for the Puppet Master.
# @param parser [OptionParser object] The OptionParser argument
# @param options [Hash] Options hash being constructed; this is modified in this method.
OctocatalogDiff::CatalogDiff::Cli::Options::Option.newoption(:puppet_master) do
  has_weight 320

  def parse(parser, options)
    OctocatalogDiff::CatalogDiff::Cli::Options.option_globally_or_per_branch(
      parser: parser,
      options: options,
      cli_name: 'puppet-master',
      option_name: 'puppet_master',
      desc: 'Hostname or Hostname:PortNumber for Puppet Master'
    )
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
octocatalog-diff-0.5.6 lib/octocatalog-diff/catalog-diff/cli/options/puppet_master.rb
octocatalog-diff-0.5.4 lib/octocatalog-diff/catalog-diff/cli/options/puppet_master.rb
octocatalog-diff-0.5.3 lib/octocatalog-diff/catalog-diff/cli/options/puppet_master.rb
octocatalog-diff-0.5.1 lib/octocatalog-diff/catalog-diff/cli/options/puppet_master.rb