dev/provisioning/modules/apache/manifests/namevirtualhost.pp
author ymh <ymh.work@gmail.com>
Thu, 24 Nov 2016 19:08:36 +0100
changeset 446 2a93eb9f38f5
parent 28 b0b56e0f8c7f
permissions -rw-r--r--
pb m3.22 - set correct filter when clicking on subject and language in notice

define apache::namevirtualhost {
  $addr_port = $name

  # Template uses: $addr_port
  concat::fragment { "NameVirtualHost ${addr_port}":
    ensure  => present,
    target  => $::apache::ports_file,
    content => template('apache/namevirtualhost.erb'),
  }
}