module-puppetlabs-apt/manifests/builddep.pp
Spencer Krum 52ca73e964 (#8720) Replace Apt::Ppa with Apt::Builddep
Probably a copy & paste error

Reviewed-by: Matthaus Litteken <matthaus@puppetlabs.com>
Signed-off-by: Spencer Krum <spencer@puppetlabs.com>
2011-08-02 15:12:34 -07:00

16 lines
344 B
Puppet

# builddep.pp
define apt::builddep() {
Class['apt'] -> Apt::Builddep[$name]
exec { "apt-update-${name}":
command => "/usr/bin/apt-get update",
refreshonly => true,
}
exec { "apt-builddep-${name}":
command => "/usr/bin/apt-get -y --force-yes build-dep $name",
notify => Exec["apt-update-${name}"],
}
}