f13f3cfac7
Based on code review change exec from apt update to apt_update.
12 lines
245 B
Puppet
12 lines
245 B
Puppet
# builddep.pp
|
|
|
|
define apt::builddep() {
|
|
include apt::update
|
|
|
|
Class['apt'] -> Apt::Builddep[$name]
|
|
|
|
exec { "apt-builddep-${name}":
|
|
command => "/usr/bin/apt-get -y --force-yes build-dep ${name}",
|
|
notify => Exec['apt_update'],
|
|
}
|
|
}
|