mirror of https://github.com/zulip/zulip.git
17 lines
376 B
ObjectPascal
17 lines
376 B
ObjectPascal
|
# builddep.pp
|
||
|
|
||
|
define apt::builddep() {
|
||
|
include apt::update
|
||
|
|
||
|
exec { "apt-builddep-${name}":
|
||
|
command => "/usr/bin/apt-get -y --force-yes build-dep ${name}",
|
||
|
logoutput => 'on_failure',
|
||
|
notify => Exec['apt_update'],
|
||
|
}
|
||
|
|
||
|
# Need anchor to provide containment for dependencies.
|
||
|
anchor { "apt::builddep::${name}":
|
||
|
require => Class['apt::update'],
|
||
|
}
|
||
|
}
|