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


Chronological Thread 
  • From: Tensibai < >
  • To: < >
  • Subject: [chef] Re: *** PROBABLY SPAM *** Deploy a rails application using SVN with username and password
  • Date: Tue, 26 Mar 2013 17:30:22 +0100

You may want to have a look at this pull-request: https://github.com/lastobelus/chef-application/commit/46094e5c9479321361c1a35df2d50f0452f444df

Tensibai

Le 2013-03-25 05:11, a écrit :

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.

§