dev/provisioning/modules/apache/manifests/namevirtualhost.pp
changeset 28 b0b56e0f8c7f
equal deleted inserted replaced
27:a2342f26c9de 28:b0b56e0f8c7f
       
     1 define apache::namevirtualhost {
       
     2   $addr_port = $name
       
     3 
       
     4   # Template uses: $addr_port
       
     5   concat::fragment { "NameVirtualHost ${addr_port}":
       
     6     ensure  => present,
       
     7     target  => $::apache::ports_file,
       
     8     content => template('apache/namevirtualhost.erb'),
       
     9   }
       
    10 }