Hi again,

On Tue, Jan 27, 2015 at 02:35:09PM +0100, Michael Weiser wrote:

> @@ -385,17 +460,18 @@ class hadoop {
>        Service <| title == "hadoop-hdfs-zkfc" |> -> Service <| title == 
> "hadoop-hdfs-namenode" |>
>      }

> +    $first_namenode = 
> any2array($hadoop::common_hdfs::hadoop_namenode_host)[0]
>      if ($::fqdn == $first_namenode) {
>        exec { "namenode format":

Just great, a last-minute change blows it all up. Change that to:

    $namenode_array = any2array($hadoop::common_hdfs::hadoop_namenode_host)
    $first_namenode = $namenode_array[0]

(or just leave the inline template) and it really does work.

Sorry,
-- 
Michael Weiser                science + computing ag
Senior Systems Engineer       Geschaeftsstelle Duesseldorf
                              Faehrstrasse 1
phone: +49 211 302 708 32     D-40221 Duesseldorf
fax:   +49 211 302 708 50     www.science-computing.de
-- 
Vorstandsvorsitzender/Chairman of the board of management:
Gerd-Lothar Leonhart
Vorstand/Board of Management:
Dr. Bernd Finkbeiner, Michael Heinrichs, Dr. Arno Steitz
Vorsitzender des Aufsichtsrats/
Chairman of the Supervisory Board:
Philippe Miltin
Sitz/Registered Office: Tuebingen
Registergericht/Registration Court: Stuttgart
Registernummer/Commercial Register No.: HRB 382196

Reply via email to