[...]
> 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