On Mon, 2008-10-13 at 13:01 -0700, Dan wrote:
> After banging my head against my desk for a few hours, I'm posting
> here (after being told this isn't a bug).
What version of puppet is this ?
> I'm trying to use puppet to install some packages on my fedora
> clients, som on my puppet master i created a class with the following
> contents:
>
> class fedora-ws {
> include atrpms-repo
>
> $packages = ["subversion"]
> package { $packages:
> ensure => installed
> }
>
> }
>
> after including it in the fedora node and running "puppetd --test --
> verbose" on the client, i get the following:
The invocation of yum does not pass any package names on the command
line:
> # puppetd --verbose --test
> info: Caching catalog at /var/lib/puppet/localconfig.yaml
> notice: Starting catalog run
> err: //Node[workstation]/fedora-ws/Package[]/ensure: change from
> absent to present failed: Execution of '/usr/bin/yum -d 0 -e 0 -y
> install ' returned 1: Traceback (most recent call last):
The log message already has a suspect 'Package[]' in it instead of
'Package[subversion]' - not sure why that is, though.
David
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---