Added modules
This commit is contained in:
parent
c53c931217
commit
59ec520742
646 changed files with 35182 additions and 0 deletions
16
modules/apt/manifests/builddep.pp
Normal file
16
modules/apt/manifests/builddep.pp
Normal file
|
@ -0,0 +1,16 @@
|
|||
# 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'],
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue