ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ed Kohlwey <ekohl...@gmail.com>
Subject Malformed package list in generated pp files
Date Thu, 19 Dec 2013 02:19:30 GMT
I'm attempting to get started with ambari development, and while setting up
an environment based on a trunk checkout I noticed that my agent scripts
appear the be producing malformed package_list strings. Here's an example:

$package_list="[{"type":"rpm","name":"libganglia-3.5.0-99"},{"type":"rpm","name":"ganglia-devel-3.5.0-99"},{"type":"rpm","name":"ganglia-gmetad-3.5.0-99"},{"type":"rpm","name":"ganglia-web-3.5.7-99.noarch"},{"type":"rpm","name":"python-rrdtool.x86_64"},{"type":"rpm","name":"ganglia-gmond-3.5.0-99"},{"type":"rpm","name":"ganglia-gmond-modules-python-3.5.0-99"}]"

The inner quotes are not escaped so puppet fails to parse the .pp files.

Has anyone encountered this issue? Does anyone have any ideas about what to
do about it?

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message