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


Chronological Thread 
  • From: Ringo De Smet < >
  • To: Chef Users < >
  • Subject: [chef] Re: Deploy a rails application using SVN with username and password
  • Date: Fri, 7 Feb 2014 21:27:13 +0100

Let's retry this question. I'm wrestling with myself at the moment too!

Anyone?

Ringo


On 25 March 2013 05:11, < " target="_blank"> > wrote:
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.

§