Files
puppet-gnocchi/manifests/storage/incoming/file.pp
Takashi Kajinami 9a0d62eb34 Prepare for voxpupuli-puppet-lint-plugins
Fix new lint errors detected when full of the voxpupili lint plugins
are enabled.

Change-Id: Ibfc7f54e3b504867b085874ff93d681f8c470a78
Signed-off-by: Takashi Kajinami <kajinamit@oss.nttdata.com>
2025-08-19 22:23:47 +09:00

23 lines
547 B
Puppet

#
# gnocchi::storage::incoming::file
#
# File incoming storage driver for Gnocchi
#
# == Parameters
#
# [*file_basepath*]
# (optional) Path used to store gnocchi data files.
# This parameter can be used only when gnocchi::storage::file is not used.
# Defaults to $facts['os_service_default'].
#
class gnocchi::storage::incoming::file (
$file_basepath = $facts['os_service_default'],
) {
include gnocchi::deps
gnocchi_config {
'incoming/driver': value => 'file';
'incoming/file_basepath': value => $file_basepath;
}
}