Hello all,
After banging my head against my desk for a few hours, I'm posting
here (after being told this isn't a bug).
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:
# 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):
File "/usr/bin/yum", line 29, in <module>
yummain.user_main(sys.argv[1:], exit_code=True)
File "/usr/share/yum-cli/yummain.py", line 229, in user_main
errcode = main(args)
File "/usr/share/yum-cli/yummain.py", line 104, in main
result, resultmsgs = base.doCommands()
File "/usr/share/yum-cli/cli.py", line 339, in doCommands
return self.yum_cli_commands[self.basecmd].doCommand(self,
self.basecmd, self.extcmds)
File "/usr/share/yum-cli/yumcommands.py", line 173, in doCommand
return base.installPkgs(extcmds)
File "/usr/share/yum-cli/cli.py", line 528, in installPkgs
self.install(pattern=arg)
File "/usr/lib/python2.5/site-packages/yum/__init__.py", line 2272,
in install
if kwargs['pattern'][0] == '@':
IndexError: string index out of range
notice: Finished catalog run in 5.33 seconds
Has anyone seen this before?
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---