dev/provisioning/modules/apache/manifests/namevirtualhost.pp
author ymh <ymh.work@gmail.com>
Wed, 08 Feb 2017 16:38:09 +0100
changeset 503 bd2701bd8142
parent 28 b0b56e0f8c7f
permissions -rw-r--r--
Do not get cocoonId from identifier but from graph url

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