Skip to content

Commit 9b1bbcd

Browse files
committed
Resolving linting errors
1 parent 9866159 commit 9b1bbcd

File tree

3 files changed

+0
-74
lines changed

3 files changed

+0
-74
lines changed

manifests/init.pp

Lines changed: 0 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -131,28 +131,12 @@
131131
# @param node_purge_gc_batch_limit
132132
# Nodes will be purged in batches of this size, one batch per gc-interval.
133133
#
134-
# @param log_slow_statements
135-
# This sets the number of seconds before an SQL query is considered "slow." Slow
136-
# SQL queries are logged as warnings, to assist in debugging and tuning. Note
137-
# PuppetDB does not interrupt slow queries; it simply reports them after they
138-
# complete.
139-
#
140-
# The default value is `10` seconds. A value of 0 will disable logging of slow
141-
# queries. This option is supported in PuppetDB >= 1.1.
142-
#
143134
# @param conn_max_age
144135
# The maximum time (in minutes) for a pooled connection to remain unused before
145136
# it is closed off.
146137
#
147138
# If not supplied, we default to `60` minutes. This option is supported in PuppetDB >= 1.1.
148139
#
149-
# @param conn_keep_alive
150-
# This sets the time (in minutes) for a connection to remain idle before sending
151-
# a test query to the DB. This is useful to prevent a DB from timing out
152-
# connections on its end.
153-
#
154-
# If not supplied, we default to 45 minutes. This option is supported in PuppetDB >= 1.1.
155-
#
156140
# @param conn_lifetime
157141
# The maximum time (in minutes) a pooled connection should remain open. Any
158142
# connections older than this setting will be closed off. Connections currently in
@@ -249,28 +233,12 @@
249233
# is set to `undef`, and `manage_database` is set to `true`, it will use the value of
250234
# the `database_name` parameter. This option is supported in PuppetDB >= 1.6.
251235
#
252-
# @param read_log_slow_statements
253-
# This sets the number of seconds before an SQL query to the read database is
254-
# considered "slow." Slow SQL queries are logged as warnings, to assist in
255-
# debugging and tuning. Note PuppetDB does not interrupt slow queries; it simply
256-
# reports them after they complete.
257-
#
258-
# The default value is 10 seconds. A value of 0 will disable logging of slow
259-
# queries. This option is supported in PuppetDB >= 1.6.
260-
#
261236
# @param read_conn_max_age
262237
# The maximum time (in minutes) for a pooled read database connection to remain
263238
# unused before it is closed off.
264239
#
265240
# If not supplied, we default to 60 minutes. This option is supported in PuppetDB >= 1.6.
266241
#
267-
# @param read_conn_keep_alive
268-
# This sets the time (in minutes) for a read database connection to remain idle
269-
# before sending a test query to the DB. This is useful to prevent a DB from
270-
# timing out connections on its end.
271-
#
272-
# If not supplied, we default to 45 minutes. This option is supported in PuppetDB >= 1.6.
273-
#
274242
# @param read_conn_lifetime
275243
# The maximum time (in minutes) a pooled read database connection should remain
276244
# open. Any connections older than this setting will be closed off. Connections

manifests/server.pp

Lines changed: 0 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -102,28 +102,12 @@
102102
# @param node_purge_gc_batch_limit
103103
# Nodes will be purged in batches of this size, one batch per gc-interval.
104104
#
105-
# @param log_slow_statements
106-
# This sets the number of seconds before an SQL query is considered "slow." Slow
107-
# SQL queries are logged as warnings, to assist in debugging and tuning. Note
108-
# PuppetDB does not interrupt slow queries; it simply reports them after they
109-
# complete.
110-
#
111-
# The default value is `10` seconds. A value of 0 will disable logging of slow
112-
# queries. This option is supported in PuppetDB >= 1.1.
113-
#
114105
# @param conn_max_age
115106
# The maximum time (in minutes) for a pooled connection to remain unused before
116107
# it is closed off.
117108
#
118109
# If not supplied, we default to `60` minutes. This option is supported in PuppetDB >= 1.1.
119110
#
120-
# @param conn_keep_alive
121-
# This sets the time (in minutes) for a connection to remain idle before sending
122-
# a test query to the DB. This is useful to prevent a DB from timing out
123-
# connections on its end.
124-
#
125-
# If not supplied, we default to 45 minutes. This option is supported in PuppetDB >= 1.1.
126-
#
127111
# @param conn_lifetime
128112
# The maximum time (in minutes) a pooled connection should remain open. Any
129113
# connections older than this setting will be closed off. Connections currently in
@@ -217,28 +201,12 @@
217201
# is set to `undef`, and `manage_database` is set to `true`, it will use the value of
218202
# the `database_name` parameter. This option is supported in PuppetDB >= 1.6.
219203
#
220-
# @param read_log_slow_statements
221-
# This sets the number of seconds before an SQL query to the read database is
222-
# considered "slow." Slow SQL queries are logged as warnings, to assist in
223-
# debugging and tuning. Note PuppetDB does not interrupt slow queries; it simply
224-
# reports them after they complete.
225-
#
226-
# The default value is 10 seconds. A value of 0 will disable logging of slow
227-
# queries. This option is supported in PuppetDB >= 1.6.
228-
#
229204
# @param read_conn_max_age
230205
# The maximum time (in minutes) for a pooled read database connection to remain
231206
# unused before it is closed off.
232207
#
233208
# If not supplied, we default to 60 minutes. This option is supported in PuppetDB >= 1.6.
234209
#
235-
# @param read_conn_keep_alive
236-
# This sets the time (in minutes) for a read database connection to remain idle
237-
# before sending a test query to the DB. This is useful to prevent a DB from
238-
# timing out connections on its end.
239-
#
240-
# If not supplied, we default to 45 minutes. This option is supported in PuppetDB >= 1.6.
241-
#
242210
# @param read_conn_lifetime
243211
# The maximum time (in minutes) a pooled read database connection should remain
244212
# open. Any connections older than this setting will be closed off. Connections

manifests/server/read_database.pp

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -98,16 +98,6 @@
9898
}
9999
}
100100

101-
ini_setting { 'puppetdb_read_classname':
102-
setting => 'classname',
103-
value => $classname,
104-
}
105-
106-
ini_setting { 'puppetdb_read_subprotocol':
107-
setting => 'subprotocol',
108-
value => $subprotocol,
109-
}
110-
111101
ini_setting { 'puppetdb_read_pgs':
112102
setting => 'syntax_pgs',
113103
value => true,

0 commit comments

Comments
 (0)