52ca73e964
Probably a copy & paste error Reviewed-by: Matthaus Litteken <matthaus@puppetlabs.com> Signed-off-by: Spencer Krum <spencer@puppetlabs.com>
16 lines
344 B
Puppet
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}"],
|
|
}
|
|
}
|