all right! that explains everything!

I've tried to find any example like yours (require => [ User["puppet"],
File["/var/lib/puppet/.ssh"] ]) on the wiki, but I hadn't found.

thank you!!



On Wed, Nov 4, 2009 at 4:01 PM, R.I.Pienaar <r...@devco.net> wrote:

>
> Hello,
>
> ----- "Gustavo Soares" <gustavosoa...@gmail.com> wrote:
>
> > Hi!!
> >
> > I was using puppet 0.24.8 and I have recently upgraded to version
> > 0.25.1. (I am using puppet + passenger configuration)
> >
> > I have noticed that when I have to requires in a manifest, the
> > following error is raised:
> >
> > err: Could not retrieve catalog from remote server: Error 400 on
> > SERVER: Duplicate parameter 'require'
>
> <snip>
>
> > require => User["puppet"],
> > require => File["/var/lib/puppet/.ssh"],
> > target => "/var/lib/puppet/.ssh/authorized_keys2"
>
> <snip>
>
> > am I missing something? This kind of definition was working...
>
>
> Actually it wasn't working at all.  What would happen in the past is that
> only the 2nd require would be taken, the first would be silently ignored and
> not do what you intended at all.
>
> The parser now help you pick up this kind of mistake, the right syntax is:
>
> require => [ User["puppet"], File["/var/lib/puppet/.ssh"] ]
>
> --
> R.I.Pienaar
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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