[chef] Re: Using apt cookbook to add PPA


Chronological Thread 
  • From: Cassiano Leal < >
  • To:
  • Subject: [chef] Re: Using apt cookbook to add PPA
  • Date: Thu, 27 Jun 2013 18:37:35 -0300

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.

- cassiano



Archive powered by MHonArc 2.6.16.

§