Skip to content

Commit

Permalink
Merge "Stringify $evaluation_interval for validate_re call"
Browse files Browse the repository at this point in the history
  • Loading branch information
Jenkins authored and openstack-gerrit committed Oct 3, 2014
2 parents 08fc9d9 + a4f20d0 commit 7792885
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ require 'puppet-lint/tasks/puppet-lint'
PuppetLint.configuration.fail_on_warnings = true
PuppetLint.configuration.send('disable_80chars')
PuppetLint.configuration.send('disable_class_parameter_defaults')
PuppetLint.configuration.send('disable_only_variable_string')
2 changes: 1 addition & 1 deletion manifests/alarm/evaluator.pp
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@

include ceilometer::params

validate_re($evaluation_interval,'^(\d+)$')
validate_re("${evaluation_interval}",'^(\d+)$')

Ceilometer_config<||> ~> Service['ceilometer-alarm-evaluator']

Expand Down

0 comments on commit 7792885

Please sign in to comment.