Sha256: 0149a62c8380466ba47d3604e7990bb71570b53886944784b374befc2ab5cbc6

Contents?: true

Size: 364 Bytes

Versions: 27

Compression:

Stored size: 364 Bytes

Contents

set -x
set -e

[[ -f /.testlab-apt-bootstrap ]] && exit 0

export DEBIAN_FRONTEND="noninteractive"

apt-get -y update
<% if !@apt[:install].nil? -%>
apt-get -y install <%= @apt[:install].flatten.compact.join(' ') %>
<% end -%>
<% if !@apt[:remove].nil? -%>
apt-get -y remove <%= @apt[:remove].flatten.compact.join(' ') %>
<% end -%>

touch /.testlab-apt-bootstrap

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
testlab-0.9.1 lib/testlab/provisioners/templates/apt/bootstrap.erb
testlab-0.9.0 lib/testlab/provisioners/templates/apt/bootstrap.erb
testlab-0.8.6 lib/testlab/provisioners/templates/apt/bootstrap.erb
testlab-0.8.5 lib/testlab/provisioners/templates/apt/bootstrap.erb
testlab-0.8.4 lib/testlab/provisioners/templates/apt/bootstrap.erb
testlab-0.8.3 lib/testlab/provisioners/templates/apt/bootstrap.erb
testlab-0.8.2 lib/testlab/provisioners/templates/apt/bootstrap.erb
testlab-0.8.1 lib/testlab/provisioners/templates/apt/bootstrap.erb
testlab-0.8.0 lib/testlab/provisioners/templates/apt/bootstrap.erb
testlab-0.7.6 lib/testlab/provisioners/templates/apt/bootstrap.erb
testlab-0.7.5 lib/testlab/provisioners/templates/apt/bootstrap.erb
testlab-0.7.4 lib/testlab/provisioners/templates/apt/bootstrap.erb
testlab-0.7.3 lib/testlab/provisioners/templates/apt/bootstrap.erb
testlab-0.7.2 lib/testlab/provisioners/templates/apt/bootstrap.erb
testlab-0.7.1 lib/testlab/provisioners/templates/apt/bootstrap.erb
testlab-0.7.0 lib/testlab/provisioners/templates/apt/bootstrap.erb
testlab-0.6.17 lib/testlab/provisioners/templates/apt/bootstrap.erb
testlab-0.6.16 lib/testlab/provisioners/templates/apt/bootstrap.erb
testlab-0.6.15 lib/testlab/provisioners/templates/apt/bootstrap.erb
testlab-0.6.14 lib/testlab/provisioners/templates/apt/bootstrap.erb