Skip to content
Snippets Groups Projects

Collectd encryption

Merged DIEGO MICHELOTTO requested to merge infn-cloud/collectd:collectd_encryption into main
10 files
+ 68
30
Compare changes
  • Side-by-side
  • Inline
Files
10
+ 6
8
@@ -23,12 +23,18 @@
# Mandatory. Default undef
# [*influxdb_collectd_port*] String: Port related to the influxdb host, usually 25826.
# Mandatory. Default 25826
# [*encript_user*] String: Username used to encrypt data in transit. If not set, no security is used.
# Optional. Default undef
# [*encript_password*] String: Password used to encrypt data in transit. If not set, no security is used.
# Optional. Default undef
#
# include collectd
class collectd::setup::debian (
String $influxdb_collectd_host = $::collectd::influxdb_collectd_host,
String $influxdb_collectd_port = $::collectd::influxdb_collectd_port,
$encript_user = $::collectd::encript_user,
$encript_password = $::collectd::encript_password,
) {
$collectdpackages= [ 'collectd', 'collectd-core', 'collectd-dbg', 'collectd-utils', 'libcollectdclient1']
@@ -47,14 +53,6 @@ class collectd::setup::debian (
require => Package[$collectdpackages],
}
#cron {'collectd_flush_cache':
# ensure => present,
# command => "/usr/bin/killall -SIGUSR1 collectd",
# user => root,
# minute => '0',
# hour => '*/2'
#}
service { 'collectd':
ensure => running,
enable => true,
Loading