-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi, I''m trying to find out why I cannot get a package installed using
puppet.
My manifest is roughly like this:
twisted_instance{"pdfIndexer": app => "https://svn....",
appConfig => "...",
python_deps => ["twisted","nevow",
"pysqlite",
"uuid", "ConfigObj", "storm"],
# generated by rpm -qa|grep fonts-|sed -r
''s/([^-]+-[^-]+)-.+/"\1",/''
packages => ["python-elementtree",
"poppler-utils",
"ImageMagick",
"fonts-japanese",
"fonts-KOI8-R-75dpi",
"fonts-ISO8859-2-75dpi",
"fonts-hindi",
"fonts-tamil",
"fonts-gujarati",
"urw-fonts",
"ghostscript-fonts",
"fonts-korean",
"fonts-kannada",
"fonts-telugu",
"fonts-hebrew",
"fonts-sinhala",
"fonts-punjabi",
"fonts-malayalam",
"fonts-chinese",
"fonts-oriya",
"fonts-arabic",
"fonts-bengali"
]}
In the define I got:
define twisted_instance($app,$userId, $python_deps = ["twisted"],
$packages = [] ) {
package { $packages: ensure => installed; }
...
}
When I run puppet on the client[1], and grep for yum I get a bunch of:
debug: Puppet::Type::Package::ProviderYum: Not suitable: false value
This makes it rather hard to understand what is happening. It would be
great if someone could point me in the right direction for debugging
this, preferably a patch that could tell me which package is failing.
1. Commandline:
puppetd --verbose --onetime --debug --no-daemonize --ignorecache
Kind regards,
Tarjei
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFIcxS4YVRKCnSvzfIRAljLAJ43izoJkltWgrQigv0XT7nkB9RvcQCfQ3Qz
q/SgqrmcVLY/f/DFAKXFFM8=DMlD
-----END PGP SIGNATURE-----
--~--~---------~--~----~------------~-------~--~----~
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-unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/puppet-users?hl=en
-~----------~----~----~----~------~----~------~--~---
On Tue, Jul 8, 2008 at 2:18 AM, tarjei <tarjei@nu.no> wrote:> > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hi, I''m trying to find out why I cannot get a package installed using > puppet. > > My manifest is roughly like this: > > twisted_instance{"pdfIndexer": app => "https://svn....", > appConfig => "...", > python_deps => ["twisted","nevow", "pysqlite", > "uuid", "ConfigObj", "storm"], > # generated by rpm -qa|grep fonts-|sed -r > ''s/([^-]+-[^-]+)-.+/"\1",/'' > packages => ["python-elementtree", > "poppler-utils", > "ImageMagick", > "fonts-japanese", > "fonts-KOI8-R-75dpi", > "fonts-ISO8859-2-75dpi", > "fonts-hindi", > "fonts-tamil", > "fonts-gujarati", > "urw-fonts", > "ghostscript-fonts", > "fonts-korean", > "fonts-kannada", > "fonts-telugu", > "fonts-hebrew", > "fonts-sinhala", > "fonts-punjabi", > "fonts-malayalam", > "fonts-chinese", > "fonts-oriya", > "fonts-arabic", > "fonts-bengali" > ]} > > In the define I got: > define twisted_instance($app,$userId, $python_deps = ["twisted"], > $packages = [] ) { > package { $packages: ensure => installed; } > ... > } > When I run puppet on the client[1], and grep for yum I get a bunch of: > debug: Puppet::Type::Package::ProviderYum: Not suitable: false value > > > This makes it rather hard to understand what is happening. It would be > great if someone could point me in the right direction for debugging > this, preferably a patch that could tell me which package is failing. > > > 1. Commandline: > puppetd --verbose --onetime --debug --no-daemonize --ignorecache >what does a twisted _nstance like this give you: twisted_instance{"pdfIndexer": app => "https://svn....", appConfig => "...", python_deps => "twisted", packages => "python-elementtree", } Step one is going to be reducing the test case to it''s simplest state and work back from there. Evan --~--~---------~--~----~------------~-------~--~----~ 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-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---