Preserve backwards compatibility
[puppet-modules/puppetlabs-apt.git] / manifests / builddep.pp
1 # builddep.pp
2
3 define apt::builddep() {
4   include apt::update
5
6   exec { "apt-builddep-${name}":
7     command => "/usr/bin/apt-get -y --force-yes build-dep ${name}",
8     notify  => Exec['apt_update'],
9   }
10
11   # Need anchor to provide containment for dependencies.
12   anchor { "apt::builddep::${name}":
13     require => Class['apt::update'],
14   }
15 }