On Thursday, April 28, 2011 at 7:21 AM, Haselwanter Edmund wrote:
Hi *,
What a difference a day made :-(
Yesterday i finished a chef config which worked well. Running it today i get caught by external dependecies:
[Thu, 28 Apr 2011 13:50:17 +0000] INFO: Setting mode to 644 for file[/etc/apt/sources.list.d/ubuntu-partner-source.list]
[Thu, 28 Apr 2011 13:50:38 +0000] ERROR: apt_repository[ubuntu-partner] (/var/chef-solo/cookbooks/java/recipes/sun.rb:32:in `from_file') had an error:
apt-get update returned 100, expected 0
/usr/lib/ruby/gems/1.8/gems//chef-0.9.16/bin/../lib/chef/mixin/command.rb:184:in `handle_command_failures'
/usr/lib/ruby/gems/1.8/gems/chef-0.9.16/bin/../lib/chef/mixin/command.rb:131:in `run_command'
/usr/lib/ruby/gems/1.8/gems/chef-0.9.16/bin/../lib/chef/provider/execute.rb:49:in `action_run'
/usr/lib/ruby/gems/1.8/gems/chef-0.9.16/bin/../lib/chef/resource.rb:395:in `send'
/usr/lib/ruby/gems/1.8/gems/chef-0.9.16/bin/../lib/chef/resource.rb:395:in `run_action'
/var/chef-solo/cookbooks/apt/providers/repository.rb:59:in `class_from_file'
/usr/lib/ruby/gems/1.8/gems/chef-0.9.16/bin/../lib/chef/provider.rb:104:in `instance_eval'
/usr/lib/ruby/gems/1.8/gems/chef-0.9.16/bin/../lib/chef/provider.rb:104:in `action_add'
so I searched the mailing list and found there is a apt recipe with a cache / cache-client config
so is it possible to pre-load apt with external apt_repository information and share this on a client run?
what would it take? A instance with apt::cache and a recipe which does add this repos?
cu edi
--
DI Edmund Haselwanter, , http://edmund.haselwanter.com/
http://www.iteh.at | http://facebook.com/iTeh.solutions | http://at.linkedin.com/in/haselwanteredmund
Archive powered by MHonArc 2.6.16.