Sha256: 4a27d9b5789507d8407c57ee58c5bae28ac1d9a9e34a91dd474fc8a65cb5cd4d
Contents?: true
Size: 469 Bytes
Versions: 633
Compression:
Stored size: 469 Bytes
Contents
define apache::vhost( $port, $docroot, $ssl=true, $template='apache/vhost-default.conf.erb', $priority, $serveraliases = '' ) { include apache $vdir = $operatingsystem? { 'ubuntu' => '/etc/apache2/sites-enabled/', default => '/etc/httpd/conf.d', } file{"${vdir}/${priority}-${name}": content => template($template), owner => 'root', group => 'root', mode => '0777', require => Package['httpd'], notify => Service['httpd'], } }
Version data entries
633 entries across 633 versions & 1 rubygems