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
This commit is contained in:
Hunter Haugen
2015-09-04 11:28:00 -07:00
parent 7d20689bbb
commit a4a12b2612

View File

@@ -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']