Code Review
/
puppet-modules
/
puppetlabs-apt.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
history
|
raw
|
HEAD
(#8720) Replace Apt::Ppa with Apt::Builddep
[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