dev/provisioning/modules/apache/manifests/namevirtualhost.pp
author ymh <ymh.work@gmail.com>
Mon, 28 Nov 2016 22:17:48 +0100
changeset 452 85cf1c3a2fea
parent 28 b0b56e0f8c7f
permissions -rw-r--r--
correct rootUrl for module + css on FF 38

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'),
  }
}