From fe92cb2892a9180ae298e8cac9bd8a4934ca671a Mon Sep 17 00:00:00 2001 From: Joshua Hoblitt Date: Fri, 20 Dec 2013 19:38:18 -0800 Subject: [PATCH] add param validation to ganglia::web class --- manifests/web.pp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/manifests/web.pp b/manifests/web.pp index 344432c..03bba2a 100644 --- a/manifests/web.pp +++ b/manifests/web.pp @@ -36,6 +36,8 @@ $ganglia_ip = '127.0.0.1', $ganglia_port = 8652, ) inherits ganglia::params { + validate_string($ganglia_ip) + validate_string($ganglia_port) anchor{ 'ganglia::web::begin': } -> class{ 'ganglia::web::install': } ->