Skip to content

Commit 9865135

Browse files
committed
(maint) correct lint and travis errors
1 parent 169759f commit 9865135

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

manifests/pe_metric.pp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@
4848
$metric_script_file_path = "${puppet_metrics_collector::scripts_dir}/${metric_script_file}"
4949
$conversion_script_file_path = "${puppet_metrics_collector::scripts_dir}/json2timeseriesdb"
5050

51+
# lint:ignore:140chars
5152
if empty($override_metrics_command) {
5253
$base_metrics_command = "${metric_script_file_path} --metrics_type ${metrics_type} --output_dir ${metrics_output_dir}"
5354

@@ -79,10 +80,10 @@
7980
} else {
8081
$metrics_command = "${base_metrics_command} --no-print"
8182
}
82-
8383
} else {
8484
$metrics_command = $override_metrics_command
8585
}
86+
# lint:endignore
8687

8788
cron { "${metrics_type}_metrics_collection" :
8889
ensure => $metric_ensure,

manifests/service/activemq.pp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
Optional[Integer] $metrics_server_port = $puppet_metrics_collector::metrics_server_port,
1313
Optional[String] $metrics_server_db_name = $puppet_metrics_collector::metrics_server_db_name,
1414
) {
15+
# lint:ignore:140chars
1516
$additional_metrics = [
1617
{
1718
'type' => 'read',
@@ -49,6 +50,7 @@
4950
'attribute' => 'AverageBlockedTime,AverageEnqueueTime,AverageMessageSize,ConsumerCount,DequeueCount,DispatchCount,EnqueueCount,ExpiredCount,ForwardCount,InFlightCount,ProducerCount,QueueSize',
5051
},
5152
]
53+
# lint:endignore
5254

5355
file { "${puppet_metrics_collector::scripts_dir}/amq_metrics" :
5456
ensure => $metrics_ensure,

manifests/service/puppetdb.pp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@
178178
}
179179
]
180180

181-
$version = {'catalogs' => 9, 'facts' => 5, 'reports' => 8},
181+
$version = {'catalogs' => 9, 'facts' => 5, 'reports' => 8}
182182

183183
$version_specific_metrics = [
184184
{

0 commit comments

Comments
 (0)