On Thursday, December 20, 2012 at 09:47, Loïc Antoine-Gombeaud wrote:
Ohai there,I'm getting the following error message when I use the deploy resource for the first time on a clean Vagrant machine:
FATAL: NoMethodError: deploy_branch[/var/admintool] (plinga-admintool::deploy line 14) had an error: NoMethodError: undefined method `[]' for nil:NilClassAnd here's the relevant recipe snippet:deploy_branch node['plinga-admintool']['app_dir'] douser "root"group "root"migrate falsepurge_before_symlink([])create_dirs_before_symlink([])symlink_before_migrate({})symlinks({})repository File.join(repo, branch)revision node['plinga-admintool']['svn_revision']scm_provider Chef::Provider::Subversionsvn_username node['plinga-admintool']['svn_username']svn_password node['plinga-admintool']['svn_password']action :deployendHas anyone had a similar or related issue before? The only resource I could find is this IRC log (search for dbalatero), and... it doesn't really help, since no solution was suggested there.I'm at a loss regarding how to debug, since I've triple-checked my code, all hints or pointers greatly appreciated! Otherwise my next step will be to hard-code logs in the deploy provider, but avoiding that pain would be better :)More info:- failed-run-data.json contains all the correct attributes (at least concerning this deployment)- any subsequent chef-client run on the same machine works perfectly.Cheers and thanks in advance,--Loic ANTOINE-GOMBEAUD
IT contact & DevOps Engineer
Plinga GmbH | Saarbrücker Straße 20/21 | 10405 Berlin | Germany
E-Mail: " target="_blank"> | skype: loic.plinga
Cell: +49 (0) 160 922 86753
www.plinga.com
Geschäftsführer: Johannes Kreibohm, Florian Schmidt-Amelung
Eingetragen beim Amtsgericht Charlottenburg, HRB 119994
Archive powered by MHonArc 2.6.16.