lib/testlab/provisioners/templates/apt/provision.erb in testlab-1.0.1 vs lib/testlab/provisioners/templates/apt/provision.erb in testlab-1.1.0
- old
+ new
@@ -10,7 +10,10 @@
apt-get -y install <%= @apt[:install].flatten.compact.join(' ') %>
<% end -%>
<% if !@apt[:remove].nil? -%>
apt-get -y remove <%= @apt[:remove].flatten.compact.join(' ') %>
<% end -%>
+<% if !@apt[:purge].nil? -%>
+apt-get -y purge <%= @apt[:purge].flatten.compact.join(' ') %>
+<% end -%>
touch /.testlab-apt-provision