From: Hunter Haugen Date: Fri, 4 Sep 2015 18:28:00 +0000 (-0700) Subject: Disable lint warning check X-Git-Tag: 7.0.0-mos-rc1^2~1^2 X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=a4a12b2612c1e54579c79fa6faef91b684b9aff1;p=puppet-modules%2Fpuppet-ceilometer.git Disable lint warning check This variable is cast to a string to avoid validate_re() breaking, but puppet-lint gives a warning for a string containing only a variable. This disables the warning for this line only. Change-Id: I8faadf0194b61fd9fc709c7287f46b003b92e7e4 --- diff --git a/manifests/alarm/evaluator.pp b/manifests/alarm/evaluator.pp index 29ad75d..5799376 100644 --- a/manifests/alarm/evaluator.pp +++ b/manifests/alarm/evaluator.pp @@ -41,7 +41,8 @@ class ceilometer::alarm::evaluator ( include ::ceilometer::params - validate_re("${evaluation_interval}",'^(\d+)$') + # Cast $evaluation_interval to a string + validate_re("${evaluation_interval}",'^(\d+)$') # lint:ignore:only_variable_string Ceilometer_config<||> ~> Service['ceilometer-alarm-evaluator']