dev/provisioning/modules/apache/manifests/namevirtualhost.pp
author nowmad@nowmads-macbook-pro.local
Wed, 20 Jan 2016 13:04:27 +0100
changeset 89 89be68e13215
parent 28 b0b56e0f8c7f
permissions -rw-r--r--
fix a problem after reloading the page the date tags couldn't be deleted

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