From ed7f473912ac2df6b8e885d40774db3e4ec87f54 Mon Sep 17 00:00:00 2001 From: juniorsysadmin Date: Sun, 8 Apr 2018 14:06:09 +1000 Subject: [PATCH] collectd::plugin::contextswitch - Use data types --- manifests/plugin/contextswitch.pp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/manifests/plugin/contextswitch.pp b/manifests/plugin/contextswitch.pp index f1a6ed8c5..3689e6c9e 100644 --- a/manifests/plugin/contextswitch.pp +++ b/manifests/plugin/contextswitch.pp @@ -1,7 +1,7 @@ # https://collectd.org/wiki/index.php/Plugin:ContextSwitch class collectd::plugin::contextswitch ( - $ensure = 'present', - $interval = undef, + Enum['present', 'absent'] $ensure = 'present', + Optional[Integer[1]] $interval = undef, ) { include ::collectd