dev/provisioning/modules/apache/manifests/namevirtualhost.pp
author ymh <ymh.work@gmail.com>
Fri, 08 Apr 2016 19:30:17 +0200
changeset 149 3ace15523e6b
parent 28 b0b56e0f8c7f
permissions -rw-r--r--
ember css in pods still does not work for us (funnel error in emble cli)

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