Code Review
/
puppet-modules
/
puppetlabs-apt.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
dd2143e246aea2e35e46bf69ba2004b29a9bec20
[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