- From: Arnold Krille <
>
- To:
- Subject: [chef] Re: Question about application(_django)
- Date: Fri, 16 Nov 2012 10:39:33 +0100
Hi again,
after yesterdays tips, I added our ca to the trusted CAs for the system and
now its actually the user and password that is not working.
Here is my current cookbook with error-messages as comments:
---
package "subversion"
application "ohf2" do
path "/srv/ohf2"
owner "www-data"
group "www-data"
#scm_provider Chef::Provider::Subversion
## Doesn't work, asks for svn-password for user www-data...
scm_provider Chef::Provider::Subversion do
svn_username "deployment"
svn_password "***"
end
## FATAL: NoMethodError: undefined method `set' for
Chef::Provider::Subversion:Class
#scm_provider.set["svn_username"] = "deployment"
#scm_provider.set["svn_password"] = "***"
repository "
https://development.bcs.bcs/svn/bcspackages/trunk/monster-
master"
## FATAL: NoMethodError: undefined method `set' for
Chef::Provider::Subversion:Class
#scm_provider.set["svn_username"] = "deployment"
#scm_provider.set["svn_password"] = "***"
#migrate true
django do
packages ["django", "django_extensions", "django-mptt", "south"]
debug true
end
end
---
How do I get the checkout to know the credentials? How do I get application
to
pass the credentials to the deploy-resource which seems to know what to do
with svn_username and svn_password?
Thanks in advance,
Arnold
Attachment:
signature.asc
Description: This is a digitally signed message part.
Archive powered by MHonArc 2.6.16.