]> review.fuel-infra Code Review - puppet-modules/puppet-ceilometer.git/commit
Stringify $evaluation_interval for validate_re call
authorMike Dorman <mdorman@godaddy.com>
Thu, 18 Sep 2014 18:18:30 +0000 (12:18 -0600)
committerMike Dorman <mdorman@godaddy.com>
Tue, 23 Sep 2014 18:33:53 +0000 (11:33 -0700)
commita4f20d069ef002fe22b51cd954fec196954caa89
tree809a15f1960d5e38ce63b7aa7727db34eeb5658e
parent957c2120d0ee0b9db08bfddcce996686ba61d97d
Stringify $evaluation_interval for validate_re call

Under Puppet 3.7.x, calls to validate_re fail if the parameter is not
strictly a string.  This change creates a string from
$evaluation_interval when passing to validate_re, so the call will
pass regardless of if the parameter to the class is specified as
string or an integer.

Change-Id: I17b82977f21483acf134837a66c5ecebe346cfdf
Closes-Bug: 1371235
Rakefile
manifests/alarm/evaluator.pp