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"
#scm_provider Chef::Provider::Subversion
application "ohf2" do
path "/srv/ohf2"
owner "www-data"
group "www-data"
## Doesn't work, asks for svn-password for user www-data...
scm_provider Chef::Provider::Subversion dosvn_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 trueHow do I get the checkout to know the credentials? How do I get application to
end
end
---
pass the credentials to the deploy-resource which seems to know what to do
with svn_username and svn_password?
Thanks in advance,
Arnold
Archive powered by MHonArc 2.6.16.