2821051a9902d4d85e89791e85f2d69bdd781cac
[puppet-modules/puppetlabs-apt.git] / manifests / ppa.pp
1 # ppa.pp
2
3 define apt::ppa(
4
5 ) {
6         include apt
7
8     package { "python-software-properties": }
9
10     exec { "apt-update":
11         command     => "/usr/bin/apt-get update",
12         refreshonly => true,
13     }
14
15     exec { "/usr/bin/add-apt-repository ${name}":
16         require => Package["python-software-properties"],
17         notify => Exec["apt-update"]
18     }
19 }
20