Sha256: 4b405855f449d07e27851ed6b46640f09648cc648af0f83e87477018ae01fd02

Contents?: true

Size: 376 Bytes

Versions: 27

Compression:

Stored size: 376 Bytes

Contents

# 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'],
  }
}

Version data entries

27 entries across 27 versions & 2 rubygems

Version Path
freighthop-0.6.1 modules/apt/manifests/builddep.pp
freighthop-0.6.0 modules/apt/manifests/builddep.pp
freighthop-0.5.2 modules/apt/manifests/builddep.pp
freighthop-0.5.1 modules/apt/manifests/builddep.pp
freighthop-0.5.0 modules/apt/manifests/builddep.pp
freighthop-0.4.1 modules/apt/manifests/builddep.pp
freighthop-0.4.0 modules/apt/manifests/builddep.pp
freighthop-0.3.3 modules/apt/manifests/builddep.pp
freighthop-0.3.2 modules/apt/manifests/builddep.pp
freighthop-0.3.1 modules/apt/manifests/builddep.pp
freighthop-0.3.0 modules/apt/manifests/builddep.pp
freighthop-0.2.1 modules/apt/manifests/builddep.pp
freighthop-0.2.0 modules/apt/manifests/builddep.pp
freighthop-0.1.0 modules/apt/manifests/builddep.pp
freighthop-0.0.6 modules/apt/manifests/builddep.pp
freighthop-0.0.5 modules/apt/manifests/builddep.pp
freighthop-0.0.4 modules/apt/manifests/builddep.pp
freighthop-0.0.3 modules/apt/manifests/builddep.pp
freighthop-0.0.2 modules/apt/manifests/builddep.pp
freighthop-0.0.1 modules/apt/manifests/builddep.pp