module-puppetlabs-apt/manifests/builddep.pp
Nan Liu f13f3cfac7 (#11966) Change apt update to apt_update.
Based on code review change exec from apt update to apt_update.
2012-05-04 13:35:25 -07:00

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'],
}
}