Perhaps this is a Debian/Ubuntu question and not a puppet problem but...

Seems as though the key is good but the install failed.

# apt-key list
/etc/apt/trusted.gpg
--------------------
--- snip ---

pub   2048R/7F0CEB10 2010-02-05
uid                  Richard Kreuter <rich...@10gen.com>

and the 7F0CEF10 key (10gen) is the key in question

anyway, puppet failed to install the package and running the install from the 
command line, I can sort of see why...

# apt-get install mongodb-10gen
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  ssl-cert
Use 'apt-get autoremove' to remove them.
The following NEW packages will be installed:
  mongodb-10gen
0 upgraded, 1 newly installed, 0 to remove and 21 not upgraded.
Need to get 27.3MB of archives.
After this operation, 70.6MB of additional disk space will be used.
WARNING: The following packages cannot be authenticated!
  mongodb-10gen
Install these packages without verification [y/N]? n
E: Some packages could not be authenticated

puppet of course stumbles with the same problem...
# puppet agent --test --verbose --ignorecache --server ubuntu.ttinet
info: Retrieving plugin
info: Loading facts in datacenter
info: Loading facts in datacenter
info: Caching catalog for ubuntu2.ttinet
info: Applying configuration version '1308777226'
err: /Stage[main]/Mongodb/Package[mongodb-10gen]/ensure: change from purged to 
present failed: Execution of '/usr/bin/apt-get -q -y -o 
DPkg::Options::=--force-confold install mongodb-10gen' returned 100: Reading 
package lists...
Building dependency tree...
Reading state information...
The following packages were automatically installed and are no longer required:
  ssl-cert
Use 'apt-get autoremove' to remove them.
The following NEW packages will be installed:
  mongodb-10gen
0 upgraded, 1 newly installed, 0 to remove and 21 not upgraded.
Need to get 27.3MB of archives.
After this operation, 70.6MB of additional disk space will be used.
WARNING: The following packages cannot be authenticated!
  mongodb-10gen
E: There are problems and -y was used without --force-yes

err: /Stage[main]/Mongodb/Service[mongodb]/ensure: change from stopped to 
running failed: Could not find init script for 'mongodb'
notice: Finished catalog run in 1.06 seconds

and you can imagine that I am not very keen on automating anything with --force

??

-- 
Craig White ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  craig.wh...@ttiltd.com
1.800.869.6908 ~~~~~~~~~~~~~~~~~~~~~~~~~~~ www.ttiassessments.com 

Need help communicating between generations at work to achieve your desired 
success? Let us help!

-- 
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+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to