Skip to content

Commit

Permalink
Resolving linting errors
Browse files Browse the repository at this point in the history
  • Loading branch information
klab-systems committed Feb 16, 2024
1 parent 9866159 commit 9b1bbcd
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 74 deletions.
32 changes: 0 additions & 32 deletions manifests/init.pp
Original file line number Diff line number Diff line change
Expand Up @@ -131,28 +131,12 @@
# @param node_purge_gc_batch_limit
# Nodes will be purged in batches of this size, one batch per gc-interval.
#
# @param log_slow_statements
# This sets the number of seconds before an SQL query is considered "slow." Slow
# SQL queries are logged as warnings, to assist in debugging and tuning. Note
# PuppetDB does not interrupt slow queries; it simply reports them after they
# complete.
#
# The default value is `10` seconds. A value of 0 will disable logging of slow
# queries. This option is supported in PuppetDB >= 1.1.
#
# @param conn_max_age
# The maximum time (in minutes) for a pooled connection to remain unused before
# it is closed off.
#
# If not supplied, we default to `60` minutes. This option is supported in PuppetDB >= 1.1.
#
# @param conn_keep_alive
# This sets the time (in minutes) for a connection to remain idle before sending
# a test query to the DB. This is useful to prevent a DB from timing out
# connections on its end.
#
# If not supplied, we default to 45 minutes. This option is supported in PuppetDB >= 1.1.
#
# @param conn_lifetime
# The maximum time (in minutes) a pooled connection should remain open. Any
# connections older than this setting will be closed off. Connections currently in
Expand Down Expand Up @@ -249,28 +233,12 @@
# is set to `undef`, and `manage_database` is set to `true`, it will use the value of
# the `database_name` parameter. This option is supported in PuppetDB >= 1.6.
#
# @param read_log_slow_statements
# This sets the number of seconds before an SQL query to the read database is
# considered "slow." Slow SQL queries are logged as warnings, to assist in
# debugging and tuning. Note PuppetDB does not interrupt slow queries; it simply
# reports them after they complete.
#
# The default value is 10 seconds. A value of 0 will disable logging of slow
# queries. This option is supported in PuppetDB >= 1.6.
#
# @param read_conn_max_age
# The maximum time (in minutes) for a pooled read database connection to remain
# unused before it is closed off.
#
# If not supplied, we default to 60 minutes. This option is supported in PuppetDB >= 1.6.
#
# @param read_conn_keep_alive
# This sets the time (in minutes) for a read database connection to remain idle
# before sending a test query to the DB. This is useful to prevent a DB from
# timing out connections on its end.
#
# If not supplied, we default to 45 minutes. This option is supported in PuppetDB >= 1.6.
#
# @param read_conn_lifetime
# The maximum time (in minutes) a pooled read database connection should remain
# open. Any connections older than this setting will be closed off. Connections
Expand Down
32 changes: 0 additions & 32 deletions manifests/server.pp
Original file line number Diff line number Diff line change
Expand Up @@ -102,28 +102,12 @@
# @param node_purge_gc_batch_limit
# Nodes will be purged in batches of this size, one batch per gc-interval.
#
# @param log_slow_statements
# This sets the number of seconds before an SQL query is considered "slow." Slow
# SQL queries are logged as warnings, to assist in debugging and tuning. Note
# PuppetDB does not interrupt slow queries; it simply reports them after they
# complete.
#
# The default value is `10` seconds. A value of 0 will disable logging of slow
# queries. This option is supported in PuppetDB >= 1.1.
#
# @param conn_max_age
# The maximum time (in minutes) for a pooled connection to remain unused before
# it is closed off.
#
# If not supplied, we default to `60` minutes. This option is supported in PuppetDB >= 1.1.
#
# @param conn_keep_alive
# This sets the time (in minutes) for a connection to remain idle before sending
# a test query to the DB. This is useful to prevent a DB from timing out
# connections on its end.
#
# If not supplied, we default to 45 minutes. This option is supported in PuppetDB >= 1.1.
#
# @param conn_lifetime
# The maximum time (in minutes) a pooled connection should remain open. Any
# connections older than this setting will be closed off. Connections currently in
Expand Down Expand Up @@ -217,28 +201,12 @@
# is set to `undef`, and `manage_database` is set to `true`, it will use the value of
# the `database_name` parameter. This option is supported in PuppetDB >= 1.6.
#
# @param read_log_slow_statements
# This sets the number of seconds before an SQL query to the read database is
# considered "slow." Slow SQL queries are logged as warnings, to assist in
# debugging and tuning. Note PuppetDB does not interrupt slow queries; it simply
# reports them after they complete.
#
# The default value is 10 seconds. A value of 0 will disable logging of slow
# queries. This option is supported in PuppetDB >= 1.6.
#
# @param read_conn_max_age
# The maximum time (in minutes) for a pooled read database connection to remain
# unused before it is closed off.
#
# If not supplied, we default to 60 minutes. This option is supported in PuppetDB >= 1.6.
#
# @param read_conn_keep_alive
# This sets the time (in minutes) for a read database connection to remain idle
# before sending a test query to the DB. This is useful to prevent a DB from
# timing out connections on its end.
#
# If not supplied, we default to 45 minutes. This option is supported in PuppetDB >= 1.6.
#
# @param read_conn_lifetime
# The maximum time (in minutes) a pooled read database connection should remain
# open. Any connections older than this setting will be closed off. Connections
Expand Down
10 changes: 0 additions & 10 deletions manifests/server/read_database.pp
Original file line number Diff line number Diff line change
Expand Up @@ -98,16 +98,6 @@
}
}

ini_setting { 'puppetdb_read_classname':
setting => 'classname',
value => $classname,
}

ini_setting { 'puppetdb_read_subprotocol':
setting => 'subprotocol',
value => $subprotocol,
}

ini_setting { 'puppetdb_read_pgs':
setting => 'syntax_pgs',
value => true,
Expand Down

0 comments on commit 9b1bbcd

Please sign in to comment.