[chef] Deploy a rails application using SVN with username and password


Chronological Thread 
  • From: < >
  • To:
  • Subject: [chef] Deploy a rails application using SVN with username and password
  • Date: Sun, 24 Mar 2013 21:11:49 -0700 (PDT)

Hi,

I am attempting to deploy a rails application using the application provider.
However there does not appear to be a way to pass the svn_username and
svn_password through.

Here is my recipe code;

application "myservice" do
  
  path "/var/lib/myservice"

  scm_provider Chef::Provider::Subversion
  svn_username "xxxxx"
  svn_password "yyyyy"

  rails do 
  end

  passenger_apache2 do
  end

end

This is an ubuntu precise64 vagrant VM being provisioned via chef-solo version
Chef: 10.16.2

What is the format for getting svn username and password attributes into the
application provider? Do I need to inject them into the Subversion provider
directly somehow?

Regards,
Tommy



Archive powered by MHonArc 2.6.16.

§