On Dec 19, 2007, at 10:38 PM, Scott Smith wrote:
> I''ve looked around for a while, but can''t seem to find
any
> documentation
> stating whether it was possible to pass a hash as the value of a
> key in
> an object.. can we?
>
> e.g.:
>
> foo { "foo":
> fred => { "key1" => "val1", "key2"
=> "val2" }
> }
>
> this gives me errors, as does using square brackets in place of the
> curlies for the value of "fred".
Puppet''s language has no support for hashes.
--
I conclude that there are two ways of constructing a software design:
One way is to make it so simple that there are ''obviously''
no
deficiencies and the other way is to make it so complicated that there
are no ''obvious'' deficiencies.
-- C.A.R. Hoare, Turing Lecture "The Emperor''s Old
Clothes" CACM
February 1981, pp. 75-83.
---------------------------------------------------------------------
Luke Kanies | http://reductivelabs.com | http://madstop.com