Juri,
I ran into this a while ago and switched to underscores which seem to work fine.
I believe that it''s documented somewhere on the Wiki, but I
can''s
currently find it.
Trevor
On Dec 11, 2007 9:47 AM, Juri Rischel Jensen <juri@fab-it.dk>
wrote:> Hi all
>
> I''ve stumbled upon something that I consider a bug: Node variables
> can''t have dashes in them:
>
> node blah {
> $allow-from = "127.0.0.1"
> }
>
> err: Could not parse; using old configuration: Could not match ''-
> from'' at /home/mercurial/repositories/manifests/nodes/nodes.pp:8
>
> I''m using the variable to create a template-based config file.
>
>
> --
> Best regards
> Juri Rischel Jensen
>
> Fab:IT ApS
> Vesterbrogade 50
> DK-1620 København
> Tlf: 70 202 407 / Fax: 33 313 640
> www.fab-it.dk / juri@fab-it.dk
>
>
>
> _______________________________________________
> Puppet-users mailing list
> Puppet-users@madstop.com
> https://mail.madstop.com/mailman/listinfo/puppet-users
>