Google Groups

Re: Puppet definitions and hashes/arrays syntax problem.


jcbollinger Apr 16, 2012 6:57 AM
Posted in group: Puppet Users


On Apr 13, 10:17 am, Rocky <rosco...@gmail.com> wrote:
> Hi, I have this definiton for keepalived. And i need to feed the template
> this array that i will loop trough.
>
> site.pp definition snippet:
>
> >  keepalived::vrrp_virtual_server {
>
>                real_servers = { realserver1 => { ip => '192.168.33.10',


Variables in Puppet manifests are designated by an initial '$' sigil:

$real_servers = ...

(The sigil is left off when you refer to local Puppet variables in
templates, however.)


John