Hi Peter,
It worked, thanks!

On Fri, Dec 12, 2008 at 3:14 PM, Peter Meier <[email protected]> wrote:

>
> Hi
>
> [...]
>
> > class apache22 {
> >   package { apache22:
> >     ensure => installed,
> >     source => "http://x.x.x.x/packages/apache-2.2.9_5.tbz";,
> >     provider => freebsd
> >   }
>
> [...]
>
> > It seems to me that puppet is not registering the installation of the
> > package the first time around. What am I doing wrong here?
>
> exactly.
>
> the namevar of the package (in your case apache22) is used to query
> the package manager of the system, if the package is already
> installed. However the name of the package is not apache22 it is
> apache, therefore it fails. Or how else could puppet know about the
> actual package name?
> so change package { apache22 to package { apache and it will work.
>
> At least I hope it does.
>
> cheers pete
>
> >
>


-- 
Med venlig hilsen
- Jacob Atzen

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

Reply via email to