On Thursday, November 15, 2012 at 9:28 AM, Arnold Krille wrote:
On Thursday 15 November 2012 08:55:13 Noah Kantrowitz wrote:On Nov 15, 2012, at 8:43 AM, Arnold Krille wrote:Hi all,this is probably a beginners question but I can't figure it out:I want to use application (application_django to be specific) to deployourdjango project. Our source is in a subversion repository that is onlyaccessible with a valid username/password. But I don't know how to givetheusername and password to the deployment process.This is what I have so far:---application "ohf2" dopath "/srv/ohf2"owner "www-data"group "www-data"scm_provider Chef::Provider::Subversion dosvn_username "****"svn_password "****"endmaster"#migrate truedjango dopackages ["django", "django_extensions", "django-mptt"]debug trueendend---The error it returns is:---FATAL: Errno::ENOENT: deploy_revision[ohf2](/var/chef/cache/cookbooks/application/providers/default.rb line 122) hadan error: Errno::ENOENT: No such file or directory - svn info---When I copy the url to a browser it asks for the authentication and when Ienter the deployment-auth it shows the correct stuff...I also tried giving svn_username and svn_password as parameters on theapplication-level but then it just complains that it doesn't know what todo with the parameters.What should I do? What am I doing wrong?Should I ditch application and just rebuild the parts ofapplication_djangothat I need for my own recipe?Are you installing svn before calling that?Thanks, that I didn't do.Now it fails with:Chef::Exceptions::Exec: deploy_revision[ohf2](/var/chef/cache/cookbooks/application/providers/default.rb line 122) had anerror: Chef::Exceptions::Exec: returned 1, expected 0I can provide a stacktrace if needed, but neither the stack-trace nor theoutput from chef-client tell me *which* command returned 1 instead of 0.Any ideas how to go on?Arnold
Archive powered by MHonArc 2.6.16.