Skip to content

Commit 8f231fa

Browse files
author
Jarret Lavallee
committed
Fix tidy for system metrics
Prior to this commit, the system metrics tidy was not functional. It would error out do to restrictions in the `metrics_tidy` script. This commit adds the system directories to the tidy script.
1 parent cf13927 commit 8f231fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

files/metrics_tidy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ done
3232

3333

3434
# Guard against deleting or archiving files outside of a Puppet service metrics directory.
35-
valid_paths=(puppetserver puppetdb orchestrator ace bolt activemq)
35+
valid_paths=(puppetserver puppetdb orchestrator ace bolt activemq system_processes system_memory system_cpu)
3636

3737
# Arguments and defaults.
3838
metrics_directory="${metrics_directory:-/opt/puppetlabs/puppet-metrics-collector/puppetserver}"

0 commit comments

Comments
 (0)