You got close with quoting, but I think you're just missing the :
after the package, like this:

package { "lua5.1":
    ensure => installed
}

On Fri, Oct 23, 2009 at 7:08 AM, Mathieu N <salep...@gmail.com> wrote:
>
> Hi all,
> It might be a newby question but I cannot found any answer here or on
> the documentation part of the Website.
> I need to install a package with a dot in the name. So my
> recipe looks like
> package { lua5.1
>                ensure => installed
>        }
>
> But I keep on getting a syntax error on the line containing the dot.
> Error 400 on SERVER: Could not parse for environment production:
> Syntax error at '.'; expected '}' at /etc/puppet/manifests/classes/bm-
> node-x64:44
>
> Tried to put "lua5.1" or 'lua5.1' but the error is still there even
> slightly different:
> Could not retrieve catalog from remote server: Error 400 on SERVER:
> Could not parse for environment production: Syntax error at 'ensure';
> expected '}' at /etc/puppet/manifests/classes/bm-node-x64:45
>
> so defining a variable with
> $lua = lua5.1
> package {$lua
>                ensure => installed
>        }
>
> Do not do the trick. Same errors like above.
>
> Any idea on how i can handle that kind of packages name ?
>
> Thaks
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to