Skip to content

Commit 3221bde

Browse files
committed
Ordering within weights for puppetdb and puppet SSL info
1 parent f40a5ca commit 3221bde

9 files changed

+9
-0
lines changed

lib/octocatalog-diff/cli/options/puppet_master_ssl_ca.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
# @param options [Hash] Options hash being constructed; this is modified in this method.
88
OctocatalogDiff::Cli::Options::Option.newoption(:puppet_master_ssl_ca) do
99
has_weight 320
10+
order_within_weight 30
1011

1112
def parse(parser, options)
1213
OctocatalogDiff::Cli::Options.option_globally_or_per_branch(

lib/octocatalog-diff/cli/options/puppet_master_ssl_client_cert.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
# @param options [Hash] Options hash being constructed; this is modified in this method.
77
OctocatalogDiff::Cli::Options::Option.newoption(:puppet_master_ssl_client_cert) do
88
has_weight 320
9+
order_within_weight 40
910

1011
def parse(parser, options)
1112
OctocatalogDiff::Cli::Options.option_globally_or_per_branch(

lib/octocatalog-diff/cli/options/puppet_master_ssl_client_key.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
# @param options [Hash] Options hash being constructed; this is modified in this method.
77
OctocatalogDiff::Cli::Options::Option.newoption(:puppet_master_ssl_client_key) do
88
has_weight 320
9+
order_within_weight 50
910

1011
def parse(parser, options)
1112
OctocatalogDiff::Cli::Options.option_globally_or_per_branch(

lib/octocatalog-diff/cli/options/puppetdb_ssl_ca.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
# @param options [Hash] Options hash being constructed; this is modified in this method.
88
OctocatalogDiff::Cli::Options::Option.newoption(:puppetdb_ssl_ca) do
99
has_weight 310
10+
order_within_weight 10
1011

1112
def parse(parser, options)
1213
parser.on('--puppetdb-ssl-ca FILENAME', 'CA certificate that signed the PuppetDB certificate') do |x|

lib/octocatalog-diff/cli/options/puppetdb_ssl_client_cert.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
# @param options [Hash] Options hash being constructed; this is modified in this method.
77
OctocatalogDiff::Cli::Options::Option.newoption(:puppetdb_ssl_client_cert) do
88
has_weight 310
9+
order_within_weight 20
910

1011
def parse(parser, options)
1112
parser.on('--puppetdb-ssl-client-cert FILENAME', 'SSL client certificate to connect to PuppetDB') do |x|

lib/octocatalog-diff/cli/options/puppetdb_ssl_client_key.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
# @param options [Hash] Options hash being constructed; this is modified in this method.
77
OctocatalogDiff::Cli::Options::Option.newoption(:puppetdb_ssl_client_key) do
88
has_weight 310
9+
order_within_weight 30
910

1011
def parse(parser, options)
1112
parser.on('--puppetdb-ssl-client-key FILENAME', 'SSL client key to connect to PuppetDB') do |x|

lib/octocatalog-diff/cli/options/puppetdb_ssl_client_password.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
# @param options [Hash] Options hash being constructed; this is modified in this method.
88
OctocatalogDiff::Cli::Options::Option.newoption(:puppetdb_ssl_client_cert) do
99
has_weight 310
10+
order_within_weight 35
1011

1112
def parse(parser, options)
1213
parser.on('--puppetdb-ssl-client-password PASSWORD', 'Password for SSL client key to connect to PuppetDB') do |x|

lib/octocatalog-diff/cli/options/puppetdb_ssl_client_password_file.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
# @param options [Hash] Options hash being constructed; this is modified in this method.
66
OctocatalogDiff::Cli::Options::Option.newoption(:puppetdb_ssl_client_password_file) do
77
has_weight 310
8+
order_within_weight 37
89

910
def parse(parser, options)
1011
parser.on('--puppetdb-ssl-client-password-file FILENAME', 'Read password for SSL client key from a file') do |x|

lib/octocatalog-diff/cli/options/puppetdb_url.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
# @param options [Hash] Options hash being constructed; this is modified in this method.
88
OctocatalogDiff::Cli::Options::Option.newoption(:puppetdb_url) do
99
has_weight 310
10+
order_within_weight 1
1011

1112
def parse(parser, options)
1213
parser.on('--puppetdb-url URL', 'PuppetDB base URL') do |url|

0 commit comments

Comments
 (0)