Code Review
/
puppet-modules
/
puppetlabs-apt.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
9c277e9bd4534ec35d7859a17706e5a1616f2ec4
[puppet-modules/puppetlabs-apt.git]
/
manifests
/
ppa.pp
1
# ppa.pp
2
3
define apt::ppa(
4
5
) {
6
require apt
7
8
exec { "apt-update-${name}":
9
command => "/usr/bin/aptitude update",
10
refreshonly => true,
11
}
12
13
exec { "add-apt-repository-${name}":
14
command => "/usr/bin/add-apt-repository ${name}",
15
notify => Exec["apt-update-${name}"],
16
}
17
}
18