Sha256: 9035404fd014c4274d575ae88d8d2839183f0a88f7922cae5701bb96e0e73230
Contents?: true
Size: 529 Bytes
Versions: 19
Compression:
Stored size: 529 Bytes
Contents
dpkg --status bind9 &> /dev/null || <%= (@resolv[:object] == :container).inspect %> cat <<EOF | tee /etc/resolv.conf <%= ZTK::Template.do_not_edit_notice(:message => "TestLab Resolv Provisioner") %> <% if !@resolv[:domain].nil? -%> domain <%= @resolv[:domain] %> <% end -%> <% if !@resolv[:search].nil? -%> search <%= @resolv[:search].flatten.compact.uniq.join(' ') %> <% end -%> <% if !@resolv[:servers].nil? -%> <% @resolv[:servers].flatten.compact.uniq.each do |server| -%> nameserver <%= server %> <% end -%> <% end -%> EOF
Version data entries
19 entries across 19 versions & 1 rubygems