reformatted whitespace to match recommended style
[puppet-modules/puppetlabs-apt.git] / manifests / ppa.pp
1 # ppa.pp
2
3 define apt::ppa() {
4
5   Class['apt'] -> Apt::Ppa[$title]
6
7   exec { "apt-update-${name}":
8     command     => "/usr/bin/aptitude update",
9     refreshonly => true,
10   }
11
12   exec { "add-apt-repository-${name}":
13     command => "/usr/bin/add-apt-repository ${name}",
14     notify  => Exec["apt-update-${name}"],
15   }
16 }
17