- From: Arnold Krille <
>
- To:
- Subject: [chef] Question about application(_django)
- Date: Thu, 15 Nov 2012 17:43:24 +0100
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 deploy our
django project. Our source is in a subversion repository that is only
accessible with a valid username/password. But I don't know how to give the
username and password to the deployment process.
This is what I have so far:
---
application "ohf2" do
path "/srv/ohf2"
owner "www-data"
group "www-data"
scm_provider Chef::Provider::Subversion do
svn_username "****"
svn_password "****"
end
repository "
https://development.bcs.bcs/svn/bcspackages/trunk/monster-
master"
#migrate true
django do
packages ["django", "django_extensions", "django-mptt"]
debug true
end
end
---
The error it returns is:
---
FATAL: Errno::ENOENT: deploy_revision[ohf2]
(/var/chef/cache/cookbooks/application/providers/default.rb line 122) had an
error: Errno::ENOENT: No such file or directo
ry - svn info
https://development.bcs.bcs/svn/bcspackages/trunk/monster-master
-rHEAD
---
When I copy the url to a browser it asks for the authentication and when I
enter the deployment-auth it shows the correct stuff...
I also tried giving svn_username and svn_password as parameters on the
application-level but then it just complains that it doesn't know what to do
with the parameters.
What should I do? What am I doing wrong?
Should I ditch application and just rebuild the parts of application_django
that I need for my own recipe?
Thanks in advance,
Arnold
Attachment:
signature.asc
Description: This is a digitally signed message part.
- [chef] Question about application(_django), Arnold Krille, 11/15/2012
Archive powered by MHonArc 2.6.16.