]> review.fuel-infra Code Review - puppet-modules/puppet-ceilometer.git/commit
Fix ensure_packages error
authorMark T. Voelker <mvoelker@cisco.com>
Sat, 15 Mar 2014 05:15:02 +0000 (01:15 -0400)
committerMark T. Voelker <mvoelker@cisco.com>
Sat, 15 Mar 2014 05:17:55 +0000 (01:17 -0400)
commit555df8b3a9b4ea12398bef21aa8d986fdbc2faa6
tree37b0f758178b8c1ff78cc09f48f32badd42d4e11
parent18f6a9d164c53e955a34efc5a3c19ebc37ef8492
Fix ensure_packages error

The ceilometer::collector class calls ensure_packages()
on a single package name, but the package name is provided
as a string rather than a one-element array.  This causes an
error of the form:

Error: ensure_packages(): Requires array given (String) at
/usr/share/puppet/modules/ceilometer/manifests/collector.pp:16

This patch corrects the error by passing an array instead
of a string.

Change-Id: I96cedf7561af29d92924746881c52bdd1502365f
Closes-Bug: #1292775
manifests/collector.pp