[chef] Re: Re: Using apt cookbook to add PPA


Chronological Thread 
  • From: "Mark H. Nichols" < >
  • To:
  • Subject: [chef] Re: Re: Using apt cookbook to add PPA
  • Date: Fri, 28 Jun 2013 09:16:09 -0500

Cassiano -
On Jun 27, 2013, at 4:37 PM, Cassiano Leal < "> > wrote:

On Thursday, June 27, 2013 at 17:44, Mark H. Nichols wrote:

Instead of this line:
apt_repository "#{node['subversion']['subversion_ppa']}" do
Give your resource a filesystem-friendly name, like

apt_repository “subversion-ppa” do
...

The provider uses the “name” attribute for the filename of the PPA .list file, so in this case it will create /etc/apt/sources.list.d/subversion-ppa.list.

Thank you, that did the trick. 

-- Mark



Archive powered by MHonArc 2.6.16.

§